feat: add demo.

This commit is contained in:
Zhang Dian 2023-06-06 16:33:27 +08:00
parent 7a040120b5
commit 5021ac683b
2 changed files with 10 additions and 2 deletions

View File

@ -8,7 +8,11 @@
d:DesignWidth="800" d:DesignWidth="800"
mc:Ignorable="d"> mc:Ignorable="d">
<ScrollViewer HorizontalScrollBarVisibility="Auto"> <ScrollViewer HorizontalScrollBarVisibility="Auto">
<StackPanel HorizontalAlignment="Left" Spacing="20"> <StackPanel HorizontalAlignment="Left">
<StackPanel Orientation="Horizontal">
<CheckBox BorderThickness="10" BorderBrush="Gray" Background="LightBlue">Border</CheckBox>
<CheckBox BorderThickness="10" BorderBrush="Gray" Background="LightBlue" />
</StackPanel>
<TextBlock Text="CheckBox" /> <TextBlock Text="CheckBox" />
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<CheckBox>Unchecked</CheckBox> <CheckBox>Unchecked</CheckBox>

View File

@ -7,6 +7,10 @@
mc:Ignorable="d"> mc:Ignorable="d">
<ScrollViewer> <ScrollViewer>
<StackPanel HorizontalAlignment="Left" Spacing="20"> <StackPanel HorizontalAlignment="Left" Spacing="20">
<StackPanel Orientation="Horizontal">
<RadioButton BorderThickness="10" BorderBrush="Gray" Background="LightBlue">Border</RadioButton>
<RadioButton BorderThickness="10" BorderBrush="Gray" Background="LightBlue" />
</StackPanel>
<TextBlock Text="Radio Buttons" /> <TextBlock Text="Radio Buttons" />
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<RadioButton>Unchecked</RadioButton> <RadioButton>Unchecked</RadioButton>
@ -118,7 +122,7 @@
<TextBlock TextWrapping="Wrap">Semi Design 是由互娱社区前端团队与 UED 团队共同设计开发并维护的设计系统</TextBlock> <TextBlock TextWrapping="Wrap">Semi Design 是由互娱社区前端团队与 UED 团队共同设计开发并维护的设计系统</TextBlock>
</StackPanel> </StackPanel>
</RadioButton> </RadioButton>
<RadioButton <RadioButton
IsChecked="True" IsChecked="True"
IsEnabled="False" IsEnabled="False"
Width="300" Width="300"