|
|
@ -27,14 +27,12 @@ |
|
|
<Style Selector="DataValidationErrors"> |
|
|
<Style Selector="DataValidationErrors"> |
|
|
<Style.Resources> |
|
|
<Style.Resources> |
|
|
<DataTemplate x:Key="InlineDataValidationErrorTemplate"> |
|
|
<DataTemplate x:Key="InlineDataValidationErrorTemplate"> |
|
|
<ItemsControl Items="{Binding}"> |
|
|
<ItemsControl Items="{Binding}" TextBlock.Foreground="{DynamicResource SystemControlErrorTextForegroundBrush}"> |
|
|
<ItemsControl.DataTemplates> |
|
|
<ItemsControl.Styles> |
|
|
<DataTemplate> |
|
|
<Style Selector="TextBlock"> |
|
|
<TextBlock Foreground="{DynamicResource SystemControlErrorTextForegroundBrush}" |
|
|
<Setter Property="TextWrapping" Value="Wrap" /> |
|
|
Text="{Binding}" |
|
|
</Style> |
|
|
TextWrapping="Wrap" /> |
|
|
</ItemsControl.Styles> |
|
|
</DataTemplate> |
|
|
|
|
|
</ItemsControl.DataTemplates> |
|
|
|
|
|
</ItemsControl> |
|
|
</ItemsControl> |
|
|
</DataTemplate> |
|
|
</DataTemplate> |
|
|
<ControlTemplate x:Key="InlineDataValidationContentTemplate" TargetType="DataValidationErrors"> |
|
|
<ControlTemplate x:Key="InlineDataValidationContentTemplate" TargetType="DataValidationErrors"> |
|
|
|