Button
SukiUI 提供了多种样式的按钮,并支持添加主题色
样式
Standard
xml
<Button Content="Button" ></Button>
Flat
xml
<Button Content="Button" Classes="Flat" ></Button>
Rounded
xml
<Button Content="Button" Classes="Flat Rounded" ></Button>
Outlined
xml
<Button Content="Button" Classes="Outlined" ></Button>
Basic
xml
<Button Content="Button" Classes="Basic" ></Button>
Flat Accent
xml
<Button Content="Button" Classes="Flat Accent" ></Button>
Large
xml
<Button Content="Button" Classes="Flat Large" ></Button>
Busy/Loading 状态
Axaml
xml
...
xmlns:theme="clr-namespace:SukiUI.Theme;assembly=SukiUI"
...
<Button theme:ButtonExtensions.ShowProgress="true"></Button>
C#
Csharp
MyButton.ShowProgress();
MyButton.HideProgress();
参阅
Demo: SukiUI.Demo/Features/ControlsLibrary/ButtonsView.axaml