ZYUI 1.0.0
dotnet add package ZYUI --version 1.0.0
NuGet\Install-Package ZYUI -Version 1.0.0
<PackageReference Include="ZYUI" Version="1.0.0" />
<PackageVersion Include="ZYUI" Version="1.0.0" />
<PackageReference Include="ZYUI" />
paket add ZYUI --version 1.0.0
#r "nuget: ZYUI, 1.0.0"
#:package ZYUI@1.0.0
#addin nuget:?package=ZYUI&version=1.0.0
#tool nuget:?package=ZYUI&version=1.0.0
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 | Versions 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. |
-
net8.0
- Avalonia (>= 11.3.11)
- Avalonia.Desktop (>= 11.3.11)
- Avalonia.Fonts.Inter (>= 11.3.11)
- Avalonia.Themes.Fluent (>= 11.3.11)
- Newtonsoft.Json (>= 13.0.4)
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 |