55 mc : Ignorable =" d" d : DesignWidth =" 800" d : DesignHeight =" 450"
66 xmlns : showMeTheXaml =" clr-namespace:ShowMeTheXaml;assembly=ShowMeTheXaml.Avalonia"
77 xmlns : assist =" clr-namespace:Material.Styles.Assists;assembly=Material.Styles"
8+ xmlns : system =" clr-namespace:System;assembly=System.Runtime"
89 x : Class =" Material.Avalonia.Demo.Pages.ComboBoxesDemo" >
9- <StackPanel Margin =" 16, 0" HorizontalAlignment =" Stretch" >
10- <TextBlock Classes =" Headline4 Subheadline" Text =" ComboBoxes" />
10+ <StackPanel Margin =" 16, 0" HorizontalAlignment =" Stretch" >
11+ <TextBlock Classes =" Headline4 Subheadline" Text =" ComboBoxes" />
1112
12- <WrapPanel HorizontalAlignment =" Stretch" >
13- <StackPanel >
14- <TextBlock Classes =" Headline6 Subheadline2" Text =" Standard comboboxes" />
15- <StackPanel Orientation =" Horizontal" >
16- <StackPanel .Styles>
17- <Style Selector =" ComboBox" >
18- <Setter Property =" Width" Value =" 180" />
19- </Style >
20- </StackPanel .Styles>
21- <showMeTheXaml : XamlDisplay UniqueId =" ComboBoxes0" >
22- <ComboBox PlaceholderText =" Select a Item" >
23- <TextBlock Text =" Item 1" />
24- <TextBlock Text =" Item 2" />
25- <TextBlock Text =" Item 3" />
26- <TextBlock Text =" Item 4" />
27- </ComboBox >
28- </showMeTheXaml : XamlDisplay >
29- <showMeTheXaml : XamlDisplay UniqueId =" ComboBoxes1" >
30- <ComboBox PlaceholderText =" Select a Item" >
31- <TextBlock Text =" Item 1" />
32- <TextBlock Text =" Item 2" />
33- <TextBlock Text =" Item 3" />
34- <TextBlock Text =" Item 4" />
35- </ComboBox >
36- </showMeTheXaml : XamlDisplay >
37- <showMeTheXaml : XamlDisplay UniqueId =" ComboBoxes2" >
38- <ComboBox Theme =" {StaticResource MaterialFilledComboBox}" >
39- <TextBlock Text =" Item 1" />
40- <TextBlock Text =" Item 2" />
41- <TextBlock Text =" Item 3" />
42- <TextBlock Text =" Item 4" />
43- </ComboBox >
44- </showMeTheXaml : XamlDisplay >
45- <showMeTheXaml : XamlDisplay UniqueId =" ComboBoxes3" >
46- <ComboBox Theme =" {StaticResource MaterialOutlineComboBox}" assist:ComboBoxAssist.Label=" ComboBox" >
47- <TextBlock Text =" Item 1" />
48- <TextBlock Text =" Item 2" />
49- <TextBlock Text =" Item 3" />
50- <TextBlock Text =" Item 4" />
51- </ComboBox >
52- </showMeTheXaml : XamlDisplay >
53- </StackPanel >
54- </StackPanel >
13+ <WrapPanel HorizontalAlignment =" Stretch" >
14+ <StackPanel >
15+ <TextBlock Classes =" Headline6 Subheadline2" Text =" Standard comboboxes" />
16+ <WrapPanel Orientation =" Horizontal" >
17+ <WrapPanel .Styles>
18+ <Style Selector =" ComboBox" >
19+ <Setter Property =" Width" Value =" 180" />
20+ </Style >
21+ </WrapPanel .Styles>
22+ <showMeTheXaml : XamlDisplay UniqueId =" ComboBoxes0" >
23+ <ComboBox PlaceholderText =" Select a Item" >
24+ <TextBlock Text =" Item 1" />
25+ <TextBlock Text =" Item 2" />
26+ <TextBlock Text =" Item 3" />
27+ <TextBlock Text =" Item 4" />
28+ </ComboBox >
29+ </showMeTheXaml : XamlDisplay >
30+ <showMeTheXaml : XamlDisplay UniqueId =" ComboBoxes1" >
31+ <ComboBox PlaceholderText =" Select a Item" >
32+ <TextBlock Text =" Item 1" />
33+ <TextBlock Text =" Item 2" />
34+ <TextBlock Text =" Item 3" />
35+ <TextBlock Text =" Item 4" />
36+ </ComboBox >
37+ </showMeTheXaml : XamlDisplay >
38+ <showMeTheXaml : XamlDisplay UniqueId =" ComboBoxes2" >
39+ <ComboBox Theme =" {StaticResource MaterialFilledComboBox}" >
40+ <TextBlock Text =" Item 1" />
41+ <TextBlock Text =" Item 2" />
42+ <TextBlock Text =" Item 3" />
43+ <TextBlock Text =" Item 4" />
44+ </ComboBox >
45+ </showMeTheXaml : XamlDisplay >
46+ <showMeTheXaml : XamlDisplay UniqueId =" ComboBoxes3" >
47+ <ComboBox Theme =" {StaticResource MaterialOutlineComboBox}" assist:ComboBoxAssist.Label=" ComboBox" >
48+ <TextBlock Text =" Item 1" />
49+ <TextBlock Text =" Item 2" />
50+ <TextBlock Text =" Item 3" />
51+ <TextBlock Text =" Item 4" />
52+ </ComboBox >
53+ </showMeTheXaml : XamlDisplay >
54+
55+ <showMeTheXaml : XamlDisplay UniqueId =" ComboBoxesError" >
56+ <ComboBox PlaceholderText =" Select a Item" >
57+ <TextBlock Text =" Item 1" />
58+ <TextBlock Text =" Item 2" />
59+ <TextBlock Text =" Item 3" />
60+ <TextBlock Text =" Item 4" />
61+ <DataValidationErrors .Error>
62+ <system : Exception />
63+ </DataValidationErrors .Error>
64+ </ComboBox >
65+ </showMeTheXaml : XamlDisplay >
5566 </WrapPanel >
56- </StackPanel >
67+ </StackPanel >
68+ </WrapPanel >
69+ </StackPanel >
5770</UserControl >
0 commit comments