title: Coloranimation - animate to default color
body: <p>I'm changing the <code>TextBlock</code> color through the trigger, after 5 seconds, I would like to switch the color back to the <code>TextBlock</code>'s initial, default color that is defined in the resource dictionary, without defining the color explicitly.</p>
  <p>Here is the <code>TextBlock</code> style I use:</p>
  <pre><code>&lt;Style BasedOn=&quot;{StaticResource {x:Type TextBlock}}&quot; TargetType=&quot;{x:Type TextBlock}&quot;&gt;
      &lt;Style.Triggers&gt;
          &lt;DataTrigger Binding=&quot;{Binding IsSelected}&quot; Value=&quot;True&quot;&gt;
              &lt;Setter Property=&quot;Foreground&quot; Value=&quot;{StaticResource LightBackgroundBrush}&quot; /&gt;
  
              &lt;!--  Go back to initial color  --&gt;
              &lt;DataTrigger.EnterActions&gt;
                  &lt;BeginStoryboard&gt;
                      &lt;Storyboard&gt;
                          &lt;ColorAnimation
                              BeginTime=&quot;0:0:05&quot;
                              Storyboard.TargetProperty=&quot;Foreground.Color&quot;
                              To=&quot;???&quot; /&gt;
                      &lt;/Storyboard&gt;
                  &lt;/BeginStoryboard&gt;
              &lt;/DataTrigger.EnterActions&gt;
          &lt;/DataTrigger&gt;
      &lt;/Style.Triggers&gt;
  &lt;/Style&gt;
  </code></pre>
  <p>I mean this line specifically:</p>
  <pre><code>&lt;ColorAnimation
     BeginTime=&quot;0:0:05&quot;
     Storyboard.TargetProperty=&quot;Foreground.Color&quot;
     To=&quot;???&quot; /&gt;
  </code></pre>
  <p>I have tried setting <code>To</code> property to <code>{x:Null}</code> markup extension, however the color remains the same.</p>
  <p>How can I make it animate to the default color?</p>
  <hr />
  <h1>edit</h1>
  <p>Since @Rekshino marked this question as a possible duplicate, I want to state that there is no relation between my question and the question linked by him, hence question might have been misunderstood by him as I haven't asked about <code>To</code> property bindings.</p>