Skip to content

Commit 69c28a1

Browse files
Re-order Success/Warning/Error options for SwitchConverter example based on PR feedback
1 parent 4f6e2a1 commit 69c28a1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/Primitives/samples/SwitchPresenter/SwitchConverterBrushSample.xaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@
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"

0 commit comments

Comments
 (0)