|
362 | 362 | <StackPanel Orientation="Horizontal" Grid.Row="10" Grid.Column="4">
|
363 | 363 | <smtx:XamlDisplay Key="fields_22" HorizontalAlignment="Left">
|
364 | 364 | <TextBox Width="20"
|
365 |
| - materialDesign:ValidationAssist.UsePopup="True" |
366 |
| - HorizontalAlignment="Left" |
367 |
| - ToolTip="Use a popup which can escape the bounds of the control where space is limited"> |
| 365 | + materialDesign:ValidationAssist.UsePopup="True" |
| 366 | + HorizontalAlignment="Left" |
| 367 | + ToolTip="Use a popup which can escape the bounds of the control where space is limited"> |
368 | 368 | <TextBox.Text>
|
369 | 369 | <Binding Path="Name" UpdateSourceTrigger="PropertyChanged">
|
370 | 370 | <Binding.ValidationRules>
|
|
376 | 376 | </smtx:XamlDisplay>
|
377 | 377 | <smtx:XamlDisplay Key="fields_30" Grid.Row="8" Grid.Column="5" HorizontalAlignment="Left">
|
378 | 378 | <TextBox Width="20"
|
379 |
| - materialDesign:ValidationAssist.UsePopup="True" |
380 |
| - materialDesign:ValidationAssist.PopupPlacement="Left" |
381 |
| - HorizontalAlignment="Left" |
382 |
| - ToolTip="Use a popup which can escape the bounds of the control where space is limited it can be placed in alternative positions"> |
| 379 | + materialDesign:ValidationAssist.UsePopup="True" |
| 380 | + materialDesign:ValidationAssist.PopupPlacement="Left" |
| 381 | + HorizontalAlignment="Left" |
| 382 | + ToolTip="Use a popup which can escape the bounds of the control where space is limited it can be placed in alternative positions"> |
383 | 383 | <TextBox.Text>
|
384 | 384 | <Binding Path="Name2" UpdateSourceTrigger="PropertyChanged">
|
385 | 385 | <Binding.ValidationRules>
|
|
424 | 424 | <smtx:XamlDisplay Key="fields_25" Grid.Row="14" Grid.Column="1" Grid.RowSpan="2" Grid.ColumnSpan="3">
|
425 | 425 | <StackPanel>
|
426 | 426 | <CheckBox x:Name="MaterialDesignFilledTextFieldTextBoxEnabledComboBox"
|
427 |
| - IsChecked="True" Margin="0,0,0,8">Enabled</CheckBox> |
| 427 | + IsChecked="True" Margin="0,0,0,8">Enabled</CheckBox> |
428 | 428 | <TextBox Style="{StaticResource MaterialDesignFilledTextFieldTextBox}"
|
429 | 429 | VerticalAlignment="Top" AcceptsReturn="True" TextWrapping="Wrap" MaxWidth="400" materialDesign:HintAssist.Hint="Floating hint in a box"
|
430 | 430 | IsEnabled="{Binding Path=IsChecked, ElementName=MaterialDesignFilledTextFieldTextBoxEnabledComboBox}" />
|
|
446 | 446 | <smtx:XamlDisplay Key="fields_28" Grid.Row="17" Grid.Column="1" Grid.ColumnSpan="3">
|
447 | 447 | <StackPanel>
|
448 | 448 | <CheckBox x:Name="MaterialDesignFilledPasswordFieldPasswordBoxEnabledComboBox"
|
449 |
| - IsChecked="True" Margin="0,0,0,8">Enabled</CheckBox> |
| 449 | + IsChecked="True" Margin="0,0,0,8">Enabled</CheckBox> |
450 | 450 | <PasswordBox Style="{StaticResource MaterialDesignFilledPasswordFieldPasswordBox}"
|
451 | 451 | VerticalAlignment="Top"
|
452 | 452 | IsEnabled="{Binding Path=IsChecked, ElementName=MaterialDesignFilledPasswordFieldPasswordBoxEnabledComboBox}"
|
453 | 453 | materialDesign:HintAssist.Hint="Password" />
|
454 | 454 | </StackPanel>
|
455 | 455 | </smtx:XamlDisplay>
|
456 | 456 |
|
| 457 | + <TextBlock Grid.Row="18" Grid.Column="1" Grid.ColumnSpan="3" Style="{StaticResource MaterialDesignHeadline5TextBlock}" Margin="0,32,0,16">Filled ComboBox</TextBlock> |
| 458 | + <smtx:XamlDisplay Key="fields_filled_combobox" Grid.Row="19" Grid.Column="1" Grid.ColumnSpan="3"> |
| 459 | + <StackPanel> |
| 460 | + <CheckBox x:Name="MaterialDesignFilledComboBoxEnabledComboBox" |
| 461 | + IsChecked="True" Margin="0,0,0,8">Enabled</CheckBox> |
| 462 | + <ComboBox Style="{StaticResource MaterialDesignFilledComboBox}" |
| 463 | + VerticalAlignment="Top" |
| 464 | + IsEnabled="{Binding Path=IsChecked, ElementName=MaterialDesignFilledComboBoxEnabledComboBox}" |
| 465 | + materialDesign:HintAssist.Hint="Some item"> |
| 466 | + <ComboBoxItem Content="Item 1" /> |
| 467 | + <ComboBoxItem Content="Item 2" /> |
| 468 | + <ComboBoxItem Content="Item 3" /> |
| 469 | + </ComboBox> |
| 470 | + </StackPanel> |
| 471 | + </smtx:XamlDisplay> |
| 472 | + |
457 | 473 | <TextBlock Grid.Row="18" Grid.Column="4" Style="{StaticResource MaterialDesignHeadline5TextBlock}" Margin="32,32,0,16">Outlined password field</TextBlock>
|
458 | 474 | <smtx:XamlDisplay Key="fields_29" Grid.Row="19" Grid.Column="4" Margin="32,0,0,0">
|
459 | 475 | <StackPanel>
|
460 | 476 | <CheckBox x:Name="MaterialDesignOutlinedPasswordFieldPasswordBoxEnabledComboBox"
|
461 |
| - IsChecked="True" Margin="0,0,0,8">Enabled</CheckBox> |
| 477 | + IsChecked="True" Margin="0,0,0,8">Enabled</CheckBox> |
462 | 478 | <PasswordBox Style="{StaticResource MaterialDesignOutlinedPasswordFieldPasswordBox}"
|
463 | 479 | VerticalAlignment="Top"
|
464 | 480 | IsEnabled="{Binding Path=IsChecked, ElementName=MaterialDesignOutlinedPasswordFieldPasswordBoxEnabledComboBox}"
|
|
0 commit comments