feat: add CheckBox and RadioButton overview.
This commit is contained in:
parent
5f7e84bf08
commit
afb0fbcea6
@ -62,12 +62,79 @@
|
|||||||
<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>
|
||||||
|
</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>
|
||||||
<StackPanel Orientation="Horizontal" />
|
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<CheckBox Margin="0,0,8,0">Avalonia</CheckBox>
|
<StackPanel Orientation="Horizontal">
|
||||||
<CheckBox Margin="0,0,8,0" IsChecked="True">WPF</CheckBox>
|
<CheckBox Margin="0,0,8,0">Avalonia</CheckBox>
|
||||||
<CheckBox IsChecked="{x:Null}" IsThreeState="True">UWP</CheckBox>
|
<CheckBox Margin="0,0,8,0" IsChecked="True">WPF</CheckBox>
|
||||||
|
<CheckBox IsChecked="{x:Null}" IsThreeState="True">UWP</CheckBox>
|
||||||
|
</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>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<ToggleSwitch
|
<ToggleSwitch
|
||||||
@ -96,7 +163,7 @@
|
|||||||
</TabItem>
|
</TabItem>
|
||||||
</TabControl>
|
</TabControl>
|
||||||
<StackPanel Orientation="Horizontal" Spacing="20">
|
<StackPanel Orientation="Horizontal" Spacing="20">
|
||||||
<ComboBox Width="200" PlaceholderText="Please Select" >
|
<ComboBox Width="200" PlaceholderText="Please Select">
|
||||||
<ComboBoxItem>Item 1</ComboBoxItem>
|
<ComboBoxItem>Item 1</ComboBoxItem>
|
||||||
<ComboBoxItem>Item 2</ComboBoxItem>
|
<ComboBoxItem>Item 2</ComboBoxItem>
|
||||||
<ComboBoxItem>Item 3</ComboBoxItem>
|
<ComboBoxItem>Item 3</ComboBoxItem>
|
||||||
@ -157,4 +224,4 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
</UserControl>
|
</UserControl>
|
Loading…
x
Reference in New Issue
Block a user