Skip to content

Commit bb961a4

Browse files
🦙 Add more 🦙
1 parent 2e3ccec commit bb961a4

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/EnumValuesExtension/Animal.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public enum Animal
99
Cat,
1010
Dog,
1111
Bunny,
12+
Llama,
1213
Parrot,
1314
Squirrel
1415
}

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/EnumValuesExtension/AnimalToColorConverter.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public object Convert(object value, Type targetType, object parameter, string la
1818
Animal.Cat => Colors.Coral,
1919
Animal.Dog => Colors.Gray,
2020
Animal.Bunny => Colors.Green,
21+
Animal.Llama => Colors.Beige,
2122
Animal.Parrot => Colors.YellowGreen,
2223
Animal.Squirrel => Colors.SaddleBrown,
2324
_ => throw new ArgumentException("Invalid value", nameof(value))

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/Primitives/SwitchPresenter.bind

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@
6868
<controls:Case Value="Bunny">
6969
<TextBlock FontSize="32">🐇</TextBlock>
7070
</controls:Case>
71+
<controls:Case Value="Llama">
72+
<TextBlock FontSize="32">🦙</TextBlock>
73+
</controls:Case>
7174
<controls:Case Value="Parrot">
7275
<TextBlock FontSize="32">🦜</TextBlock>
7376
</controls:Case>

0 commit comments

Comments
 (0)