|
307 | 307 | </smtx:XamlDisplay> |
308 | 308 | <TextBlock Grid.Row="7" Grid.Column="4" Style="{StaticResource MaterialDesignSubheadingTextBlock}" |
309 | 309 | Margin="0 48 0 0">Tight Space Validation</TextBlock> |
310 | | - <smtx:XamlDisplay Key="fields_22" Grid.Row="8" Grid.Column="4" HorizontalAlignment="Left"> |
311 | | - <TextBox Width="20" |
| 310 | + <StackPanel Orientation="Horizontal" Grid.Row="8" Grid.Column="4"> |
| 311 | + <smtx:XamlDisplay Key="fields_22" HorizontalAlignment="Left"> |
| 312 | + <TextBox Width="20" |
312 | 313 | materialDesign:ValidationAssist.UsePopup="True" |
313 | 314 | HorizontalAlignment="Left" |
314 | 315 | ToolTip="Use a popup which can escape the bounds of the control where space is limited"> |
315 | | - <TextBox.Text> |
316 | | - <Binding Path="Name" UpdateSourceTrigger="PropertyChanged"> |
317 | | - <Binding.ValidationRules> |
318 | | - <domain1:NotEmptyValidationRule ValidatesOnTargetUpdated="True" /> |
319 | | - </Binding.ValidationRules> |
320 | | - </Binding> |
321 | | - </TextBox.Text> |
322 | | - </TextBox> |
323 | | - </smtx:XamlDisplay> |
| 316 | + <TextBox.Text> |
| 317 | + <Binding Path="Name" UpdateSourceTrigger="PropertyChanged"> |
| 318 | + <Binding.ValidationRules> |
| 319 | + <domain1:NotEmptyValidationRule ValidatesOnTargetUpdated="True" /> |
| 320 | + </Binding.ValidationRules> |
| 321 | + </Binding> |
| 322 | + </TextBox.Text> |
| 323 | + </TextBox> |
| 324 | + </smtx:XamlDisplay> |
| 325 | + <smtx:XamlDisplay Key="fields_30" Grid.Row="8" Grid.Column="5" HorizontalAlignment="Left"> |
| 326 | + <TextBox Width="20" |
| 327 | + materialDesign:ValidationAssist.UsePopup="True" |
| 328 | + materialDesign:ValidationAssist.PopupPlacement="Left" |
| 329 | + HorizontalAlignment="Left" |
| 330 | + ToolTip="Use a popup which can escape the bounds of the control where space is limited it can be placed in alternative positions"> |
| 331 | + <TextBox.Text> |
| 332 | + <Binding Path="Name2" UpdateSourceTrigger="PropertyChanged"> |
| 333 | + <Binding.ValidationRules> |
| 334 | + <domain1:NotEmptyValidationRule ValidatesOnTargetUpdated="True" /> |
| 335 | + </Binding.ValidationRules> |
| 336 | + </Binding> |
| 337 | + </TextBox.Text> |
| 338 | + </TextBox> |
| 339 | + </smtx:XamlDisplay> |
| 340 | + </StackPanel> |
324 | 341 | <smtx:XamlDisplay Key="fields_23" Grid.Row="9" Grid.Column="4" Grid.RowSpan="2" HorizontalAlignment="Left"> |
325 | 342 | <StackPanel> |
326 | 343 | <CheckBox x:Name="DisplaySelectedItemCheckBox" |
|
0 commit comments