title: How to apply one style to control inside template of another style?
body: <p>I have style for control:</p>
  
  <pre><code>&lt;Style x:Key="base style" TargetType="{x:Type cust:SomeCustomControl}"&gt;
      &lt;Setter Property="Template"&gt;
          &lt;Setter.Value&gt;
              &lt;ControlTemplate TargetType="{x:Type cust:SomeCustomControl}"&gt;
                  &lt;DataGrid &gt;
                      &lt;!-- some content... --&gt;
                  &lt;/DataGrid &gt;
              &lt;/ControlTemplate&gt;
          &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>I tries to add another style, which should be absolutely the same as previous but with "Bold" font for first row in DataGrid:</p>
  
  <pre><code>&lt;Style x:Key="bold row" TargetType="{x:Type cust:SomeCustomControl}" BasedOn="{StaticResource base style}"&gt;
  ??????????????
  ??????????????
  &lt;/Style&gt;
  </code></pre>
  
  <p>But I don't understand how can I change some properties in first style without copying entire code of "base style".
  I think I should add something like:</p>
  
  <pre><code>&lt;Style TargetType="{x:Type DataGridCell}"&gt;
      &lt;Style.Triggers&gt;
          &lt;DataTrigger Binding="{Binding RowIndex}" Value="0"&gt;
              &lt;Setter Property="FontWeight" Value="Bold"/&gt;
          &lt;/DataTrigger&gt;
      &lt;/Style.Triggers&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>But my "bold row" style is appliable for cust:SomeCustomControl. So how can I do that inside "bold row" style, without overwritting the whole</p>
  
  <pre><code>&lt;Setter Property="Template"&gt;
  </code></pre>
  
  <p>?</p>