File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ public static class IconHelper
1515 {
1616 case ToolkitSampleCategory . Controls : iconElement = new FontIcon ( ) { Glyph = "\ue73a " } ; break ;
1717 case ToolkitSampleCategory . Animations : iconElement = new FontIcon ( ) { Glyph = "\ue945 " } ; break ;
18- case ToolkitSampleCategory . Behaviors : iconElement = new FontIcon ( ) { Glyph = "\ue8b1 " } ; break ;
18+ case ToolkitSampleCategory . Extensions : iconElement = new FontIcon ( ) { Glyph = "\ue95f " } ; break ;
19+ case ToolkitSampleCategory . Helpers : iconElement = new FontIcon ( ) { Glyph = "\ue946 " } ; break ;
20+ case ToolkitSampleCategory . Xaml : iconElement = new FontIcon ( ) { Glyph = "\ue8af " } ; break ;
1921 }
2022 return iconElement ;
2123 }
@@ -26,10 +28,16 @@ public static string GetSubcategoryIcon(ToolkitSampleSubcategory subcategory)
2628 switch ( subcategory )
2729 {
2830 case ToolkitSampleSubcategory . None : imagePath = "ms-appx:///Assets/ControlIcons/Control.png" ; break ;
31+ case ToolkitSampleSubcategory . Behaviors : imagePath = "ms-appx:///Assets/ControlIcons/Input.png" ; break ;
32+ case ToolkitSampleSubcategory . Controls : imagePath = "ms-appx:///Assets/ControlIcons/Control.png" ; break ;
33+ case ToolkitSampleSubcategory . Converters : imagePath = "ms-appx:///Assets/ControlIcons/Input.png" ; break ;
2934 case ToolkitSampleSubcategory . Input : imagePath = "ms-appx:///Assets/ControlIcons/Input.png" ; break ;
3035 case ToolkitSampleSubcategory . Layout : imagePath = "ms-appx:///Assets/ControlIcons/Layout.png" ; break ;
36+ case ToolkitSampleSubcategory . Markup : imagePath = "ms-appx:///Assets/ControlIcons/Input.png" ; break ;
37+ case ToolkitSampleSubcategory . Math : imagePath = "ms-appx:///Assets/ControlIcons/Control.png" ; break ;
3138 case ToolkitSampleSubcategory . Media : imagePath = "ms-appx:///Assets/ControlIcons/Control.png" ; break ;
3239 case ToolkitSampleSubcategory . StatusAndInfo : imagePath = "ms-appx:///Assets/ControlIcons/Status.png" ; break ;
40+ case ToolkitSampleSubcategory . Triggers : imagePath = "ms-appx:///Assets/ControlIcons/Input.png" ; break ;
3341 }
3442 return imagePath ;
3543 }
Original file line number Diff line number Diff line change @@ -20,7 +20,17 @@ public enum ToolkitSampleCategory : byte
2020 Animations ,
2121
2222 /// <summary>
23- /// Various Behaviors .
23+ /// Various Extensions that augment existing classes and controls .
2424 /// </summary>
25- Behaviors ,
25+ Extensions ,
26+
27+ /// <summary>
28+ /// Other misc. helper classes.
29+ /// </summary>
30+ Helpers ,
31+
32+ /// <summary>
33+ /// Various Xaml related helpers and concepts.
34+ /// </summary>
35+ Xaml ,
2636}
Original file line number Diff line number Diff line change @@ -36,5 +36,35 @@ public enum ToolkitSampleSubcategory : byte
3636 /// A sample that focuses on media controls or behaviors.
3737 /// </summary>
3838 Media ,
39+
40+ /// <summary>
41+ /// A sample that focuses on general control extensions.
42+ /// </summary>
43+ Controls ,
44+
45+ /// <summary>
46+ /// A sample that focuses on markup extensions.
47+ /// </summary>
48+ Markup ,
49+
50+ /// <summary>
51+ /// Samples that focus on helping with mathmatical operations.
52+ /// </summary>
53+ Math ,
54+
55+ /// <summary>
56+ /// Samples that focus on XAML behaviors.
57+ /// </summary>
58+ Behaviors ,
59+
60+ /// <summary>
61+ /// Samples that focus on XAML converters.
62+ /// </summary>
63+ Converters ,
64+
65+ /// <summary>
66+ /// Samples that focus on XAML triggers.
67+ /// </summary>
68+ Triggers ,
3969}
4070
You can’t perform that action at this time.
0 commit comments