62
62
<RowDefinition Height =" Auto" />
63
63
<RowDefinition Height =" Auto" />
64
64
<RowDefinition Height =" Auto" />
65
+ <RowDefinition Height =" Auto" />
66
+ <RowDefinition Height =" Auto" />
65
67
</Grid .RowDefinitions>
66
68
<TextBlock Grid.Row=" 0" Grid.Column=" 0" Grid.ColumnSpan=" 2" Style =" {StaticResource MaterialDesignHeadlineTextBlock}" >Common Fields</TextBlock >
67
69
<materialDesign : PackIcon Grid.Row=" 1" Grid.Column=" 0" Kind =" Account" Foreground =" {Binding ElementName=NameTextBox, Path=BorderBrush}" />
262
264
</TextBox >
263
265
<CheckBox Grid.Row=" 9" Grid.Column=" 4"
264
266
x : Name =" DisplaySelectedItemCheckBox"
267
+ IsThreeState =" False"
265
268
Margin =" 0 8 0 0" >Display Selected Item In Drop Down</CheckBox >
266
269
<ComboBox Grid.Row=" 10" Grid.Column=" 4"
267
270
materialDesign:ComboBoxAssist.ShowSelectedItem=" {Binding ElementName=DisplaySelectedItemCheckBox, Path=IsChecked}"
271
274
<ComboBoxItem >Pear</ComboBoxItem >
272
275
<ComboBoxItem >Orange</ComboBoxItem >
273
276
</ComboBox >
277
+ <CheckBox Grid.Row=" 11" Grid.Column=" 4"
278
+ x : Name =" ClassicModeCheckBox"
279
+ IsThreeState =" False" IsChecked =" True"
280
+ Margin =" 0 8 0 0" >Use classic mode</CheckBox >
281
+ <ComboBox Grid.Row=" 12" Grid.Column=" 4"
282
+ materialDesign:ComboBoxAssist.ClassicMode=" {Binding ElementName=ClassicModeCheckBox, Path=IsChecked}"
283
+ Margin =" 0 8 0 8" HorizontalAlignment =" Left" >
284
+ <ComboBoxItem IsSelected =" True" >Apple</ComboBoxItem >
285
+ <ComboBoxItem >Banana</ComboBoxItem >
286
+ <ComboBoxItem >Pear</ComboBoxItem >
287
+ <ComboBoxItem >Orange</ComboBoxItem >
288
+ </ComboBox >
274
289
275
290
</Grid >
276
291
</UserControl >
0 commit comments