File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
components/Primitives/samples/SwitchPresenter Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 20
20
<converters : SwitchConverter x : Key =" StatusToColorSwitchConverter"
21
21
TargetType =" local:CheckStatus" >
22
22
<!-- Note: These are reused from the controls namespace from SwitchPresenter -->
23
- <controls : Case Content =" {ThemeResource SystemFillColorCriticalBrush}"
24
- Value =" Error" />
25
- <controls : Case Content =" {ThemeResource SystemFillColorCautionBrush}"
26
- Value =" Warning" />
27
23
<controls : Case Content =" {ThemeResource SystemFillColorSuccessBrush}"
28
24
Value =" Success" />
25
+ <controls : Case Content =" {ThemeResource SystemFillColorCautionBrush}"
26
+ Value =" Warning" />
27
+ <controls : Case Content =" {ThemeResource SystemFillColorCriticalBrush}"
28
+ Value =" Error" />
29
29
</converters : SwitchConverter >
30
30
</Page .Resources>
31
31
32
32
<StackPanel Spacing =" 8" >
33
33
<ComboBox x : Name =" StatusPicker"
34
34
Header =" Pick a status"
35
35
SelectedIndex =" 0" >
36
- <x : String >Error</x : String >
37
- <x : String >Warning</x : String >
38
36
<x : String >Success</x : String >
37
+ <x : String >Warning</x : String >
38
+ <x : String >Error</x : String >
39
39
</ComboBox >
40
40
<TextBlock Text =" This is it, this is the demo:" />
41
41
<TextBlock FontWeight =" SemiBold"
You can’t perform that action at this time.
0 commit comments