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 2020 <converters : SwitchConverter x : Key =" StatusToColorSwitchConverter"
2121 TargetType =" local:CheckStatus" >
2222 <!-- 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" />
2723 <controls : Case Content =" {ThemeResource SystemFillColorSuccessBrush}"
2824 Value =" Success" />
25+ <controls : Case Content =" {ThemeResource SystemFillColorCautionBrush}"
26+ Value =" Warning" />
27+ <controls : Case Content =" {ThemeResource SystemFillColorCriticalBrush}"
28+ Value =" Error" />
2929 </converters : SwitchConverter >
3030 </Page .Resources>
3131
3232 <StackPanel Spacing =" 8" >
3333 <ComboBox x : Name =" StatusPicker"
3434 Header =" Pick a status"
3535 SelectedIndex =" 0" >
36- <x : String >Error</x : String >
37- <x : String >Warning</x : String >
3836 <x : String >Success</x : String >
37+ <x : String >Warning</x : String >
38+ <x : String >Error</x : String >
3939 </ComboBox >
4040 <TextBlock Text =" This is it, this is the demo:" />
4141 <TextBlock FontWeight =" SemiBold"
You can’t perform that action at this time.
0 commit comments