feat: update some demo data.

This commit is contained in:
rabbitism 2023-07-25 11:05:16 +08:00
parent 5e94fd7bfa
commit 98fc651c45
3 changed files with 52 additions and 35 deletions

View File

@ -17,8 +17,7 @@
<TextBlock <TextBlock
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
Background="Gray" Text="A.S.I.A" />
Text="Everest" />
</ButtonSpinner> </ButtonSpinner>
<ButtonSpinner <ButtonSpinner
Height="30" Height="30"
@ -30,8 +29,7 @@
<TextBlock <TextBlock
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
Background="Gray" Text="A.S.I.A" />
Text="Everest" />
</ButtonSpinner> </ButtonSpinner>
</StackPanel> </StackPanel>
</UserControl> </UserControl>

View File

@ -36,15 +36,20 @@ public partial class ButtonSpinnerDemo : UserControl
private readonly string[] _mountains = new[] private readonly string[] _mountains = new[]
{ {
"Everest", "A.S.I.A",
"K2 (Mount Godwin Austen)", "饕餮人间",
"Kangchenjunga", "七步咙咚呛",
"Lhotse", "大惊小怪",
"Makalu", "The ONE",
"Cho Oyu", "以梦为马 (壮志骄阳版)",
"Dhaulagiri", "emo了",
"Manaslu", "一眼万年",
"Nanga Parbat", "冲刺吧",
"Annapurna" "爱的赏味期限",
"COSMIC ANTHEM / 手紙",
"世界晚安",
"明年也要好好长大",
"320万年前",
"W.O.R.L.D.",
}; };
} }

View File

@ -9,45 +9,59 @@
mc:Ignorable="d"> mc:Ignorable="d">
<StackPanel Spacing="20"> <StackPanel Spacing="20">
<ComboBox Width="150"> <ComboBox Width="150">
<ComboBoxItem>AAA</ComboBoxItem> <ComboBoxItem>Ding</ComboBoxItem>
<ComboBoxItem>BBB</ComboBoxItem> <ComboBoxItem>Otter</ComboBoxItem>
<ComboBoxItem>CCC</ComboBoxItem> <ComboBoxItem>Husky</ComboBoxItem>
<ComboBoxItem>Mr. 17</ComboBoxItem>
<ComboBoxItem>Cass</ComboBoxItem>
</ComboBox> </ComboBox>
<ComboBox Width="150" PlaceholderText="Please Select"> <ComboBox Width="150" PlaceholderText="Please Select">
<ComboBoxItem>AAA</ComboBoxItem> <ComboBoxItem>Ding</ComboBoxItem>
<ComboBoxItem>BBB</ComboBoxItem> <ComboBoxItem>Otter</ComboBoxItem>
<ComboBoxItem>CCC</ComboBoxItem> <ComboBoxItem>Husky</ComboBoxItem>
<ComboBoxItem>Mr. 17</ComboBoxItem>
<ComboBoxItem>Cass</ComboBoxItem>
</ComboBox> </ComboBox>
<ComboBox Width="150" IsEnabled="False"> <ComboBox Width="150" IsEnabled="False">
<ComboBoxItem>AAA</ComboBoxItem> <ComboBoxItem>Ding</ComboBoxItem>
<ComboBoxItem>BBB</ComboBoxItem> <ComboBoxItem>Otter</ComboBoxItem>
<ComboBoxItem>CCC</ComboBoxItem> <ComboBoxItem>Husky</ComboBoxItem>
<ComboBoxItem>Mr. 17</ComboBoxItem>
<ComboBoxItem>Cass</ComboBoxItem>
</ComboBox> </ComboBox>
<ComboBox <ComboBox
Width="150" Width="150"
Classes="Large" Classes="Large"
IsEnabled="False"> IsEnabled="False">
<ComboBoxItem>AAA</ComboBoxItem> <ComboBoxItem>Ding</ComboBoxItem>
<ComboBoxItem>BBB</ComboBoxItem> <ComboBoxItem>Otter</ComboBoxItem>
<ComboBoxItem>CCC</ComboBoxItem> <ComboBoxItem>Husky</ComboBoxItem>
<ComboBoxItem>Mr. 17</ComboBoxItem>
<ComboBoxItem>Cass</ComboBoxItem>
</ComboBox> </ComboBox>
<ComboBox Width="150" Classes="Small"> <ComboBox Width="150" Classes="Small">
<ComboBoxItem>AAA</ComboBoxItem> <ComboBoxItem>Ding</ComboBoxItem>
<ComboBoxItem>BBB</ComboBoxItem> <ComboBoxItem>Otter</ComboBoxItem>
<ComboBoxItem>CCC</ComboBoxItem> <ComboBoxItem>Husky</ComboBoxItem>
<ComboBoxItem>Mr. 17</ComboBoxItem>
<ComboBoxItem>Cass</ComboBoxItem>
</ComboBox> </ComboBox>
<ComboBox Width="150" Classes="Bordered"> <ComboBox Width="150" Classes="Bordered">
<ComboBoxItem>AAA</ComboBoxItem> <ComboBoxItem>Ding</ComboBoxItem>
<ComboBoxItem>BBB</ComboBoxItem> <ComboBoxItem>Otter</ComboBoxItem>
<ComboBoxItem>CCC</ComboBoxItem> <ComboBoxItem>Husky</ComboBoxItem>
<ComboBoxItem>Mr. 17</ComboBoxItem>
<ComboBoxItem>Cass</ComboBoxItem>
</ComboBox> </ComboBox>
<ComboBox <ComboBox
Width="150" Width="150"
Classes="Bordered" Classes="Bordered"
IsEnabled="False"> IsEnabled="False">
<ComboBoxItem>AAA</ComboBoxItem> <ComboBoxItem>Ding</ComboBoxItem>
<ComboBoxItem>BBB</ComboBoxItem> <ComboBoxItem>Otter</ComboBoxItem>
<ComboBoxItem>CCC</ComboBoxItem> <ComboBoxItem>Husky</ComboBoxItem>
<ComboBoxItem>Mr. 17</ComboBoxItem>
<ComboBoxItem>Cass</ComboBoxItem>
</ComboBox> </ComboBox>
</StackPanel> </StackPanel>
</UserControl> </UserControl>