ZYUI 1.0.0

dotnet add package ZYUI --version 1.0.0
                    
NuGet\Install-Package ZYUI -Version 1.0.0
                    
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="ZYUI" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZYUI" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ZYUI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ZYUI --version 1.0.0
                    
#r "nuget: ZYUI, 1.0.0"
                    
#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.
#:package ZYUI@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ZYUI&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ZYUI&version=1.0.0
                    
Install as a Cake Tool

Avalonia UI 本项目为Avalonia UI,目前完成的UI

适用于Avalonia系统

Getting started 用法:

一)按钮Button类控件

#1、 在.axml文件中添加引用

<Window ...

    xmlns:d=...   

    xmlns:mc=.....   

    x:Class="AvaloniaApplication1.MainWindow"   

    xmlns:pc1="clr-namespace:ZYUI;assembly=ZYUI"   

    ....>   

2、如果需要使用图形文字,请命名用Iconfont字体(可以从iconfont.cn上下载自己需要的图形字体)

<Window.Resources>

<FontFamily x:Key="MainIconFont">avares://AvaloniaApplication1/Assets/Fonts/myicon.ttf</FontFamily>

</Window.Resources>

...

<pc1:FButton Content="图形结合按钮" BoxShadows="0 10 10 #11FF2200" FBackground="Blue" Font_Size="20" Classes="FLink" FIcon="" Margin="3" FIconSize="20" FForeground="Red" CornerRadius="5" Width="220" Height="40" MouseOverForeground="Green" MouseOverBackground="Blue" PressedForeground="Yellow" PressedBackground="DarkGray"/>

...

使用说明信息:

FForeground:铵钮文字颜色,包括图形字体颜色

FBackground:铵钮背景颜色

其它按英文翻译使用,你懂的

Classes="FLink" 按钮类的超级链接,常用ContentDecorations="Underline"加上下划线

严禁用于非法用途

查看二维码

后续控件在逐步完善,有紧急需求,请联系作者,如果喜欢,可捐赠以示感谢:

#Hope it helps you, your support is also the driving force of open source, with you it's even more wonderful! Thank you for your donation.

查看二维码

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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 99 5/18/2026