title: How to define multiple styles to one control?
body: <p>I'm trying to set multiple styles in a button, in particular I've:</p>
  
  <p><strong>style (1)</strong> => <code>Style="{StaticResource VisibleAnimation}"</code><br>
  <strong>style (2)</strong> => <code>Style="{DynamicResource AccentedSquareButtonStyle}"</code></p>
  
  <p>A pseudo code:</p>
  
  <pre><code>&lt;Button Content="Invia" Style="{DynamicResource AccentedSquareButtonStyle, VisibleAnimation}" &gt;&lt;/Button&gt;
  </code></pre>
  
  <p><strong>EDIT: POSSIBLE SOLUTION WITH MERGE</strong></p>
  
  <pre><code>&lt;Style TargetType="FrameworkElement" x:Key="VisibleAnimation" BasedOn="{DynamicResource AccentedSquareButtonStyle}"&gt;
  </code></pre>
  
  <p>The compiler underlined the BasedOn line and display me:</p>
  
  <blockquote>
    <p>Unable to set the properties for DynamicResourceExtension basedon type style. You can set DynamicResourceExtension only for a Dependency Property of a DependencyObject.</p>
  </blockquote>
  
  <p>How I can achieve this?</p>