1- using System . Linq ;
2- using System . Windows . Controls ;
3- using MaterialDesignDemo ;
1+ using MaterialDesignDemo ;
42using MaterialDesignDemo . Domain ;
53using MaterialDesignThemes . Wpf ;
64using MaterialDesignThemes . Wpf . Transitions ;
5+ using System . Windows . Controls ;
76
87namespace MaterialDesignColors . WpfExample . Domain
98{
@@ -13,14 +12,14 @@ public MainWindowViewModel()
1312 {
1413 DemoItems = new [ ]
1514 {
16- new DemoItem ( "Home" , new Home ( ) ,
15+ new DemoItem ( "Home" , new Home ( ) ,
1716 new [ ]
1817 {
1918 new DocumentationLink ( DocumentationLinkType . Wiki , "https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/wiki" , "WIKI" ) ,
2019 DocumentationLink . DemoPageLink < Home > ( )
2120 }
2221 ) ,
23- new DemoItem ( "Palette" , new PaletteSelector { DataContext = new PaletteSelectorViewModel ( ) } ,
22+ new DemoItem ( "Palette" , new PaletteSelector { DataContext = new PaletteSelectorViewModel ( ) } ,
2423 new [ ]
2524 {
2625 DocumentationLink . WikiLink ( "Brush-Names" , "Brushes" ) ,
@@ -30,7 +29,7 @@ public MainWindowViewModel()
3029 DocumentationLink . DemoPageLink < PaletteSelectorViewModel > ( "Demo View Model" ) ,
3130 DocumentationLink . ApiLink < PaletteHelper > ( )
3231 } ) ,
33- new DemoItem ( "Buttons & Toggles" , new Buttons ( ) ,
32+ new DemoItem ( "Buttons & Toggles" , new Buttons ( ) ,
3433 new [ ]
3534 {
3635 DocumentationLink . WikiLink ( "Button-Styles" , "Buttons" ) ,
@@ -46,10 +45,10 @@ public MainWindowViewModel()
4645 } ,
4746 new DemoItem ( "Fields" , new TextFields ( ) ,
4847 new [ ]
49- {
48+ {
5049 DocumentationLink . DemoPageLink < TextFields > ( ) ,
5150 DocumentationLink . StyleLink ( "TextBox" ) ,
52- DocumentationLink . StyleLink ( "ComboBox" ) ,
51+ DocumentationLink . StyleLink ( "ComboBox" ) ,
5352 } )
5453 {
5554 VerticalScrollBarVisibilityRequirement = ScrollBarVisibility . Auto
@@ -65,7 +64,7 @@ public MainWindowViewModel()
6564 new DemoItem ( "Sliders" , new Sliders ( ) , new [ ]
6665 {
6766 DocumentationLink . DemoPageLink < Sliders > ( ) ,
68- DocumentationLink . StyleLink ( "Sliders" )
67+ DocumentationLink . StyleLink ( "Sliders" )
6968 } ) ,
7069 new DemoItem ( "Chips" , new Chips ( ) , new [ ]
7170 {
@@ -93,7 +92,7 @@ public MainWindowViewModel()
9392 } ,
9493 new DemoItem ( "Icon Pack" , new IconPack { DataContext = new IconPackViewModel ( ) } ,
9594 new [ ]
96- {
95+ {
9796 DocumentationLink . DemoPageLink < IconPack > ( "Demo View" ) ,
9897 DocumentationLink . DemoPageLink < IconPackViewModel > ( "Demo View Model" ) ,
9998 DocumentationLink . ApiLink < PackIcon > ( )
@@ -109,18 +108,24 @@ public MainWindowViewModel()
109108 {
110109 DocumentationLink . DemoPageLink < Lists > ( "Demo View" ) ,
111110 DocumentationLink . DemoPageLink < ListsAndGridsViewModel > ( "Demo View Model" ) ,
112- DocumentationLink . StyleLink ( "ListBox" )
111+ DocumentationLink . StyleLink ( "ListBox" )
112+ } ) ,
113+ new DemoItem ( "ListViews" , new ListViews { DataContext = new ListsAndGridsViewModel ( ) } ,
114+ new DocumentationLink [ ]
115+ {
116+
113117 } ) ,
118+
114119 new DemoItem ( "Trees" , new Trees { DataContext = new TreesViewModel ( ) } ,
115120 new [ ]
116- {
121+ {
117122 DocumentationLink . DemoPageLink < Trees > ( "Demo View" ) ,
118123 DocumentationLink . DemoPageLink < TreesViewModel > ( "Demo View Model" ) ,
119124 DocumentationLink . StyleLink ( "TreeView" )
120125 } ) ,
121126 new DemoItem ( "Grids" , new Grids { DataContext = new ListsAndGridsViewModel ( ) } ,
122127 new [ ]
123- {
128+ {
124129 DocumentationLink . DemoPageLink < Lists > ( "Demo View" ) ,
125130 DocumentationLink . DemoPageLink < ListsAndGridsViewModel > ( "Demo View Model" ) ,
126131 DocumentationLink . StyleLink ( "DataGrid" )
@@ -185,7 +190,7 @@ public MainWindowViewModel()
185190 new DemoItem ( "Shadows" , new Shadows ( ) ,
186191 new [ ]
187192 {
188- DocumentationLink . DemoPageLink < Shadows > ( ) ,
193+ DocumentationLink . DemoPageLink < Shadows > ( ) ,
189194 } ) ,
190195 } ;
191196 }
0 commit comments