title: C# UWP Template10.Validation Change Style
body: <p>With "<a href="https://github.com/Windows-XAML/Template10.Validation" rel="nofollow noreferrer">Template10.Validation</a>", I want to change style.</p>
  
  <p>First I made this Style for "validate:ControlWrapper".</p>
  
  <pre><code>&lt;Style TargetType="validate:ControlWrapper"&gt;
      &lt;Setter Property="Template"&gt;
          &lt;Setter.Value&gt;
              &lt;ControlTemplate TargetType="validate:ControlWrapper"&gt;
                  &lt;StackPanel&gt;
  
                      &lt;ContentPresenter Content="{TemplateBinding Content}" /&gt;
  
                      &lt;ItemsControl ItemsSource="{Binding Errors, Source={TemplateBinding Properties[PropertyName]}}" &gt;
                          &lt;ItemsControl.ItemTemplate&gt;
                              &lt;DataTemplate&gt;
                                  &lt;TextBlock Foreground="Red" Text="{Binding}" Visibility="{Binding IsValid}"/&gt;
                              &lt;/DataTemplate&gt;
                          &lt;/ItemsControl.ItemTemplate&gt;
                      &lt;/ItemsControl&gt;
  
  
                  &lt;/StackPanel&gt;
              &lt;/ControlTemplate&gt;
          &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>and Here is the result.</p>
  
  <p><a href="https://i.stack.imgur.com/3TVAD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3TVAD.png" alt="enter image description here"></a></p>
  
  <p>Something is strange. because I want to display Validation warning message for ONLY first name. but It display every warning. from address, from postal code.</p>
  
  <p><strong>My main quesiton</strong>
  How to access "ValidatableModelBase.Property["PropertyName"].Errors" in Xaml.
  because [] branket is not possible to use in XAML binding. How to accesss ??</p>