Helium.Visible 1.3.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Helium.Visible --version 1.3.4                
NuGet\Install-Package Helium.Visible -Version 1.3.4                
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.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Helium.Visible --version 1.3.4                
#r "nuget: Helium.Visible, 1.3.4"                
#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.4

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

Visible模块

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

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

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

设置的持久化方案等待上线

模块结构

def Helium.Visible 可视化基类模块(基于Avalonia ReactiveUI) {
    Helium.ToolBox[工具箱模块] {
        Helium.Log[日志模块] {
            Helium.Reusable[可重用基类模块] {
                Helium.Config[配置模块]
            }
        }
    }
}

主类要求

在一切开始之前设置先应用名称

public partial class MainWindow : Window
{
    static MainWindow()
    {
        Constants.BeforeEverything = "YourAppName";
    }
}
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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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 106 12/21/2024
1.3.5 88 12/7/2024
1.3.4 81 11/30/2024
1.3.3 88 11/24/2024