mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-04-25 19:06:34 +08:00
feat: add CheckBox and RadioButton overview.
This commit is contained in:
@@ -62,13 +62,80 @@
|
|||||||
<TextBlock Classes="Tertiary">Description 2</TextBlock>
|
<TextBlock Classes="Tertiary">Description 2</TextBlock>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</RadioButton>
|
</RadioButton>
|
||||||
|
<RadioButton Margin="4" Theme="{StaticResource PureCardRadioButton}">
|
||||||
|
<StackPanel>
|
||||||
|
<TextBlock FontWeight="Bold">Option 1</TextBlock>
|
||||||
|
<TextBlock Classes="Tertiary">Description 1</TextBlock>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Orientation="Horizontal" />
|
</RadioButton>
|
||||||
|
<RadioButton
|
||||||
|
Margin="4"
|
||||||
|
IsChecked="True"
|
||||||
|
Theme="{StaticResource PureCardRadioButton}">
|
||||||
|
<StackPanel>
|
||||||
|
<TextBlock FontWeight="Bold">Option 2</TextBlock>
|
||||||
|
<TextBlock Classes="Tertiary">Description 2</TextBlock>
|
||||||
|
</StackPanel>
|
||||||
|
</RadioButton>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<CheckBox Margin="0,0,8,0">Avalonia</CheckBox>
|
<CheckBox Margin="0,0,8,0">Avalonia</CheckBox>
|
||||||
<CheckBox Margin="0,0,8,0" IsChecked="True">WPF</CheckBox>
|
<CheckBox Margin="0,0,8,0" IsChecked="True">WPF</CheckBox>
|
||||||
<CheckBox IsChecked="{x:Null}" IsThreeState="True">UWP</CheckBox>
|
<CheckBox IsChecked="{x:Null}" IsThreeState="True">UWP</CheckBox>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
<CheckBox Margin="4" Theme="{StaticResource CardCheckBox}">
|
||||||
|
<StackPanel>
|
||||||
|
<TextBlock FontWeight="Bold">Option 1</TextBlock>
|
||||||
|
<TextBlock Classes="Tertiary">Description 1</TextBlock>
|
||||||
|
</StackPanel>
|
||||||
|
</CheckBox>
|
||||||
|
<CheckBox
|
||||||
|
IsChecked="True"
|
||||||
|
Margin="4"
|
||||||
|
Theme="{StaticResource CardCheckBox}">
|
||||||
|
<StackPanel>
|
||||||
|
<TextBlock FontWeight="Bold">Option 2</TextBlock>
|
||||||
|
<TextBlock Classes="Tertiary">Description 2</TextBlock>
|
||||||
|
</StackPanel>
|
||||||
|
</CheckBox>
|
||||||
|
<CheckBox
|
||||||
|
IsThreeState="True"
|
||||||
|
IsChecked="{x:Null}"
|
||||||
|
Margin="4"
|
||||||
|
Theme="{StaticResource CardCheckBox}">
|
||||||
|
<StackPanel>
|
||||||
|
<TextBlock FontWeight="Bold">Option 3</TextBlock>
|
||||||
|
<TextBlock Classes="Tertiary">Description 3</TextBlock>
|
||||||
|
</StackPanel>
|
||||||
|
</CheckBox>
|
||||||
|
<CheckBox Margin="4" Theme="{StaticResource PureCardCheckBox}">
|
||||||
|
<StackPanel>
|
||||||
|
<TextBlock FontWeight="Bold">Option 1</TextBlock>
|
||||||
|
<TextBlock Classes="Tertiary">Description 1</TextBlock>
|
||||||
|
</StackPanel>
|
||||||
|
</CheckBox>
|
||||||
|
<CheckBox
|
||||||
|
IsChecked="True"
|
||||||
|
Margin="4"
|
||||||
|
Theme="{StaticResource PureCardCheckBox}">
|
||||||
|
<StackPanel>
|
||||||
|
<TextBlock FontWeight="Bold">Option 2</TextBlock>
|
||||||
|
<TextBlock Classes="Tertiary">Description 2</TextBlock>
|
||||||
|
</StackPanel>
|
||||||
|
</CheckBox>
|
||||||
|
<CheckBox
|
||||||
|
Margin="4"
|
||||||
|
IsThreeState="True"
|
||||||
|
IsChecked="{x:Null}"
|
||||||
|
Theme="{StaticResource PureCardCheckBox}">
|
||||||
|
<StackPanel>
|
||||||
|
<TextBlock FontWeight="Bold">Option 3</TextBlock>
|
||||||
|
<TextBlock Classes="Tertiary">Description 3</TextBlock>
|
||||||
|
</StackPanel>
|
||||||
|
</CheckBox>
|
||||||
|
</StackPanel>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<ToggleSwitch
|
<ToggleSwitch
|
||||||
Content="Content"
|
Content="Content"
|
||||||
|
|||||||
Reference in New Issue
Block a user