title: WPF/XAML Style set Property for child items?
body: <p>I working on a XAML style for my controls.
  The code below is for setting the color of a stackpanel. It works fine but there is something else I want to do. If the trigger is activated I want to set the font color for all child items inside the stackpanel.</p>
  
  <p>At the moment I only have textblocks inside the stackpanel and I know I could easily create a separate style for a textbock. But if this style is triggered it will only affect ONE and not ALL textblocks.
  But I want to change all items inside the stackpanel as soon as I got a mouseover trigger for the panel.</p>
  
  <p>Is this even possible in XAML or do I have to code a regular event?</p>
  
  <pre><code>&lt;Style x:Key="XStack" TargetType="StackPanel"&gt;
      &lt;Setter Property="Background"&gt;
          &lt;Setter.Value&gt;
              &lt;LinearGradientBrush StartPoint="0,0" EndPoint="0,1"&gt;
                  &lt;GradientStop Color="White" Offset="0"/&gt;
                  &lt;GradientStop Color="SkyBlue" Offset="6"/&gt;                    
              &lt;/LinearGradientBrush&gt;
          &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
      &lt;!-- Trigger--&gt;
      &lt;Style.Triggers&gt;
          &lt;Trigger Property="IsMouseOver" Value="True" &gt;
              &lt;Setter Property="Background" Value="SkyBlue"/&gt;
          &lt;/Trigger&gt;
      &lt;/Style.Triggers&gt;
  &lt;/Style&gt;    
  </code></pre>