Avalonia 控件的现代样式。
Avalonia experimental theme.
The easiest way to get started is to install the library as a NuGet package:
Install-Package Citrus.Avalonia
# Or 'dotnet add package Citrus.Avalonia'Then, reference the preffered theme from your App.xaml file:
Done! Now the templates of all default controls are updated. See the sandbox project for more examples. See StyleManager.cs to learn how to change color scheme at runtime.
Another way to get started is to add this repo as a submodule to your existing git repository:
mkdir ./external
git submodule add [email protected]:AvaloniaUI/Citrus.Avalonia.git ./external/citrus
# Reference the ../external/citrus/src/Citrus.Avalonia/Citrus.Avalonia.csproj project then.
# The ../external/citrus/src/Citrus.Avalonia.Sandbox/Citrus.Avalonia.Sandbox.csproj is
# the sandbox where you can browse the markup samples.INotifyDataErrorInfo validations暂无开放 Issues,或尚未同步最近议题。