6262 <RowDefinition Height =" Auto" />
6363 <RowDefinition Height =" Auto" />
6464 <RowDefinition Height =" Auto" />
65+ <RowDefinition Height =" Auto" />
66+ <RowDefinition Height =" Auto" />
6567 </Grid .RowDefinitions>
6668 <TextBlock Grid.Row=" 0" Grid.Column=" 0" Grid.ColumnSpan=" 2" Style =" {StaticResource MaterialDesignHeadlineTextBlock}" >Common Fields</TextBlock >
6769 <materialDesign : PackIcon Grid.Row=" 1" Grid.Column=" 0" Kind =" Account" Foreground =" {Binding ElementName=NameTextBox, Path=BorderBrush}" />
262264 </TextBox >
263265 <CheckBox Grid.Row=" 9" Grid.Column=" 4"
264266 x : Name =" DisplaySelectedItemCheckBox"
267+ IsThreeState =" False"
265268 Margin =" 0 8 0 0" >Display Selected Item In Drop Down</CheckBox >
266269 <ComboBox Grid.Row=" 10" Grid.Column=" 4"
267270 materialDesign:ComboBoxAssist.ShowSelectedItem=" {Binding ElementName=DisplaySelectedItemCheckBox, Path=IsChecked}"
271274 <ComboBoxItem >Pear</ComboBoxItem >
272275 <ComboBoxItem >Orange</ComboBoxItem >
273276 </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 >
274289
275290 </Grid >
276291</UserControl >
0 commit comments