File tree Expand file tree Collapse file tree 5 files changed +13
-63
lines changed
MaterialDesignDemo.Shared/Domain Expand file tree Collapse file tree 5 files changed +13
-63
lines changed Original file line number Diff line number Diff line change 1- using MaterialDesignDemo . Domain ;
1+ using MaterialDesignDemo . Shared . Domain ;
22using Screen = System . Windows . Forms . Screen ;
33using DrawingPoint = System . Drawing . Point ;
44
Original file line number Diff line number Diff line change 129129 <smtx : XamlDisplay Margin =" 0" UniqueKey =" comboboxes_5" >
130130 <ComboBox MinWidth =" 72"
131131 materialDesign:HintAssist.Hint=" Virtualisation"
132- ItemsSource =" {Binding LongListToTestComboVirtualization }"
132+ ItemsSource =" {Binding LongIntegerList }"
133133 SelectedValue =" {Binding SelectedValueOne}" >
134134
135135 <ComboBox .SelectedItem>
155155 <ComboBox MinWidth =" 72"
156156 materialDesign:HintAssist.Hint=" (editable)"
157157 IsEditable =" True"
158- ItemsSource =" {Binding LongListToTestComboVirtualization }" >
158+ ItemsSource =" {Binding LongIntegerList }" >
159159 <ComboBox .Text>
160160 <Binding Mode =" TwoWay"
161161 Path =" SelectedTextTwo"
174174 </smtx : XamlDisplay >
175175 <smtx : XamlDisplay UniqueKey =" comboboxes_7" >
176176 <ComboBox materialDesign:HintAssist.Hint=" (float hint)"
177- ItemsSource =" {Binding LongListToTestComboVirtualization }"
177+ ItemsSource =" {Binding LongIntegerList }"
178178 Style =" {StaticResource MaterialDesignFloatingHintComboBox}" >
179179 <ComboBox .ItemsPanel>
180180 <ItemsPanelTemplate >
187187 <ComboBox MinWidth =" 72"
188188 materialDesign:HintAssist.FloatingScale=" 1.5"
189189 materialDesign:HintAssist.Hint=" (large float hint)"
190- ItemsSource =" {Binding LongListToTestComboVirtualization }"
190+ ItemsSource =" {Binding LongIntegerList }"
191191 Style =" {StaticResource MaterialDesignFloatingHintComboBox}" >
192192 <ComboBox .ItemsPanel>
193193 <ItemsPanelTemplate >
200200 <ComboBox MinWidth =" 72"
201201 materialDesign:HintAssist.FontFamily=" Verdana"
202202 materialDesign:HintAssist.Hint=" (Change fontfamily float hint)"
203- ItemsSource =" {Binding LongListToTestComboVirtualization }"
203+ ItemsSource =" {Binding LongIntegerList }"
204204 Style =" {StaticResource MaterialDesignFloatingHintComboBox}" >
205205 <ComboBox .ItemsPanel>
206206 <ItemsPanelTemplate >
Original file line number Diff line number Diff line change 1- using MaterialDesign3Demo . Domain ;
1+ using MaterialDesignDemo . Shared . Domain ;
22
33namespace MaterialDesign3Demo ;
44
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- using MaterialDesignDemo . Shared . Domain ;
1+ using System . IO ;
22
3- namespace MaterialDesignDemo . Domain ;
3+ namespace MaterialDesignDemo . Shared . Domain ;
44
55public class ComboBoxesViewModel : ViewModelBase
66{
@@ -12,17 +12,17 @@ public class ComboBoxesViewModel : ViewModelBase
1212 public ComboBoxesViewModel ( )
1313 {
1414 LongIntegerList = new List < int > ( Enumerable . Range ( 0 , 1000 ) ) ;
15- ShortStringList = new [ ]
16- {
15+ ShortStringList =
16+ [
1717 "Item 1" ,
1818 "Item 2" ,
1919 "Item 3"
20- } ;
20+ ] ;
2121
2222 SelectedValueOne = LongIntegerList . Skip ( 2 ) . First ( ) ;
2323 SelectedTextTwo = null ;
2424
25- LongStringList = new List < string > ( ) ;
25+ LongStringList = [ ] ;
2626
2727 for ( int i = 0 ; i < 1000 ; i ++ )
2828 {
You can’t perform that action at this time.
0 commit comments