title: Reuse existing Storyboard
body: <p>This one possible way to do this:</p>
  
  <pre><code>&lt;Button.Triggers&gt;         
    &lt;EventTrigger RoutedEvent="Button.Click"&gt;    
      &lt;BeginStoryboard&gt;
        &lt;Storyboard&gt;
          &lt;ColorAnimation 
            Storyboard.TargetName="myAnimatedBrush"
            Storyboard.TargetProperty="Color"
            From="Red" To="Blue" Duration="0:0:7" /&gt;
        &lt;/Storyboard&gt;
      &lt;/BeginStoryboard&gt;
    &lt;/EventTrigger&gt;
  &lt;/Button.Triggers&gt;
  </code></pre>
  
  <p>But let's say I have:     </p>
  
  <pre><code>      &lt;Storyboard x:Name="name"&gt;
          &lt;ColorAnimation 
            Storyboard.TargetName="myAnimatedBrush"
            Storyboard.TargetProperty="Color"
            From="Red" To="Blue" Duration="0:0:7" /&gt;
        &lt;/Storyboard&gt;
  </code></pre>
  
  <p>and want to reuse it a few times.</p>
  
  <pre><code>&lt;Button.Triggers&gt;         
    &lt;EventTrigger RoutedEvent="Button.Click"&gt;    
      &lt;BeginStoryboard&gt;
        //
        // &lt;---&gt;  what whould I put here??
        //
      &lt;/BeginStoryboard&gt;
    &lt;/EventTrigger&gt;
  &lt;/Button.Triggers&gt;
  </code></pre>
  
  <p>I'm only interested in a XAML, not c#.</p>
  
  <p>Edit:</p>
  
  <p>After I used suggestions from answers I got an error:</p>
  
  <blockquote>
    <p>Attribute {StaticResource myStoryboard} value is out of range.</p>
  </blockquote>