Merge pull request #108 from irihitech/fix

fix: add ComboBox items.
This commit is contained in:
Dong Bin 2023-02-27 23:03:49 +08:00 committed by GitHub
commit b92e2d18f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 5 deletions

View File

@ -96,7 +96,11 @@
</TabItem>
</TabControl>
<StackPanel Orientation="Horizontal" Spacing="20">
<ComboBox Width="200" PlaceholderText="Please Select" />
<ComboBox Width="200" PlaceholderText="Please Select" >
<ComboBoxItem>Item 1</ComboBoxItem>
<ComboBoxItem>Item 2</ComboBoxItem>
<ComboBoxItem>Item 3</ComboBoxItem>
</ComboBox>
<DatePicker />
<TimePicker />
<CalendarDatePicker />

View File

@ -39,8 +39,8 @@
</PathGeometry>
<x:Double x:Key="ComboBoxDefaultHeight">32</x:Double>
<x:Double x:Key="ComboBoxLargeHeight">24</x:Double>
<x:Double x:Key="ComboBoxSmallHeight">40</x:Double>
<x:Double x:Key="ComboBoxSmallHeight">24</x:Double>
<x:Double x:Key="ComboBoxLargeHeight">40</x:Double>
<SolidColorBrush x:Key="ComboBoxSelectorBorderedBackground" Color="Transparent" />
<SolidColorBrush x:Key="ComboBoxSelectorBorderedBorderBrush" Opacity="0.12" Color="White" />

View File

@ -39,8 +39,8 @@
</PathGeometry>
<x:Double x:Key="ComboBoxDefaultHeight">32</x:Double>
<x:Double x:Key="ComboBoxLargeHeight">24</x:Double>
<x:Double x:Key="ComboBoxSmallHeight">40</x:Double>
<x:Double x:Key="ComboBoxSmallHeight">24</x:Double>
<x:Double x:Key="ComboBoxLargeHeight">40</x:Double>
<SolidColorBrush x:Key="ComboBoxSelectorBorderedBackground" Color="Transparent" />
<SolidColorBrush x:Key="ComboBoxSelectorBorderedBorderBrush" Opacity="0.08" Color="#FF1C1F23" />