Helium.Visible 1.3.6

dotnet add package Helium.Visible --version 1.3.6                
NuGet\Install-Package Helium.Visible -Version 1.3.6                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Helium.Visible" Version="1.3.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Helium.Visible --version 1.3.6                
#r "nuget: Helium.Visible, 1.3.6"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Helium.Visible as a Cake Addin
#addin nuget:?package=Helium.Visible&version=1.3.6

// Install Helium.Visible as a Cake Tool
#tool nuget:?package=Helium.Visible&version=1.3.6                

Visible模块

VisibleBase 基类实现页面上任何元素的可视化,它的作用在于注入了ReactiveUI,实现了单例的字体大小,对页面一致性有帮助。

Styles.Base 页面可以直接使用的基础样式,在页面布局中引入,参考avalonia ui对样式表Classes的设计,化繁为简

<Grid.Styles>
    <StyleInclude Source="avares://Helium.Visible/Styles/Base.axaml" />
</Grid.Styles>

VisibleString 实现了一个基于VisibleBase的字符串,可避免页面上孤立的字符串无法跟从全局字体。

本模块的主要目标是响应字体变化,实现一个弹性的页面。

VisibleConfig 单例模式,为用户在页面修改设置而设计

在修改设置时,VisibleConfig 需要注意和 BaseConfig 同步,它们存在重叠

模块结构

def Helium.Visible 可视化基类模块(基于Avalonia ReactiveUI) {
    Helium.ToolBox[工具箱模块] {
        Helium.Log[日志模块] {
            Helium.Reusable[可重用基类模块] {
                Helium.Config[配置模块]
            }
        }
    }
}
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Helium.Visible:

Package Downloads
Helium.Core

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.6 100 12/21/2024
1.3.5 83 12/7/2024
1.3.4 79 11/30/2024
1.3.3 86 11/24/2024