title: Putting the runtime value of Opacity in DoubleAnimation.From in xaml
body: <p>Just trying to put the "current" value of Opacity in the DoubleAnimation.From. I've looked thoroughly but have not found an answer yet.</p>
  
  <pre><code>&lt;Style TargetType="{x:Type mr:MRWindow}"&gt;
      &lt;Setter Property="Template"&gt;
          &lt;Setter.Value&gt;
              &lt;ControlTemplate TargetType="{x:Type mr:MRWindow}"&gt;
                  &lt;ControlTemplate.Triggers&gt;
                      &lt;EventTrigger RoutedEvent="Loaded"&gt;
                          &lt;BeginStoryboard&gt;
                              &lt;Storyboard&gt;
                                  &lt;DoubleAnimation From="[I want the value (when the animation begins) of the opacity of MRWindow (that this style is applied to)]" Storyboard.TargetProperty="Opacity" ...../&gt;
                              &lt;/Storyboard&gt;
                          &lt;/BeginStoryboard&gt;
                      &lt;/EventTrigger&gt;
                  &lt;/ControlTemplate.Triggers&gt;
                        &lt;OtherThings Here ...../&gt;
              &lt;/ControlTemplate&gt;
          &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>Thanks.</p>