title: DescreteObjectKeyFrame value binding is not refreshing for WPF Storyboard
body: <p>My aim is to show time in a <code>Label</code> and update it in every second. I am using <code>Storyboard</code> and <code>ObjectAnimationUsingKeyFrames</code>. The <code>Storyboard</code> implementation is working but the <code>DescreteObjectKeyFrame</code> value that is bind to <code>DateTime.Now</code> is not getting refreshed. Can anybody please help to fix the issue. This approach is chosen to replace the existing implementation using <code>Timer</code></p>
  <pre><code>&lt;Window x:Class=&quot;WpfApp1.MainWindow&quot;
          xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
          xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
          xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot;
          xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;
          xmlns:mscorlib=&quot;clr-namespace:System;assembly=mscorlib&quot;
          mc:Ignorable=&quot;d&quot;
          Height=&quot;450&quot;
          Width=&quot;800&quot;&gt;
      &lt;Grid&gt;
          &lt;Label FontSize=&quot;40&quot;
                 ContentStringFormat=&quot;hh:mm:ss&quot;&gt;
              &lt;Label.Triggers&gt;
                  &lt;EventTrigger RoutedEvent=&quot;Label.Loaded&quot;&gt;
                      &lt;BeginStoryboard&gt;
                          &lt;Storyboard&gt;
                              &lt;ObjectAnimationUsingKeyFrames Storyboard.TargetProperty=&quot;Content&quot;
                                                             Duration=&quot;0:0:3&quot;
                                                             RepeatBehavior=&quot;Forever&quot;&gt;
                                  &lt;ObjectAnimationUsingKeyFrames.KeyFrames&gt;
                                      &lt;DiscreteObjectKeyFrame Value=&quot;.&quot;
                                                              KeyTime=&quot;0:0:1&quot; /&gt;
                                      &lt;DiscreteObjectKeyFrame Value=&quot;{Binding Source={x:Static mscorlib:DateTime.Now}}&quot;
                                                              KeyTime=&quot;0:0:2&quot; /&gt;
                                  &lt;/ObjectAnimationUsingKeyFrames.KeyFrames&gt;
                              &lt;/ObjectAnimationUsingKeyFrames&gt;
                          &lt;/Storyboard&gt;
                      &lt;/BeginStoryboard&gt;
                  &lt;/EventTrigger&gt;
              &lt;/Label.Triggers&gt;
          &lt;/Label&gt;
      &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>