title: How to change the background color timely depending on the data change in the DataGrid?
body: <p>I have it in a DataGrid. Currently I am changing the background color of the row to be Red if the data is greater than 150 then green if less. What I want to do is if the data does not change within 5 seconds after the background color changes, it should turn colorless again. I wasn't sure how to implement this. Can you please help with this?</p>
  <p>My Converter</p>
  <pre><code>class ChangedDataConverter : IValueConverter
  {
      public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
      {
          var val = (int)value;
          return new SolidColorBrush(val &gt; 150 ? Colors.Red : Colors.Green);
      }
  
      public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
      {
          throw new NotImplementedException();
      }
  
  }
  </code></pre>
  <p>xaml</p>
  <pre><code>&lt;Syncfusion:GridTextColumn DisplayBinding=&quot;{Binding ID, Converter={StaticResource IntToHexadecimalConverter}}&quot;&gt;
                              &lt;Syncfusion:GridTextColumn.CellStyle&gt;
                                  &lt;Style TargetType=&quot;Syncfusion:GridCell&quot;&gt;
                                      &lt;Setter Property=&quot;Background&quot; Value=&quot;{Binding ID, Converter={StaticResource ChangedDataConverter}}&quot;/&gt;
                                  &lt;/Style&gt;
                              &lt;/Syncfusion:GridTextColumn.CellStyle&gt;
                          &lt;/Syncfusion:GridTextColumn&gt;
  </code></pre>
  <p><strong>Edit:</strong> I tried the following way. I'm close to what I want, but it only happens once because it has an Onloaded event. I couldn't find which activity I should use. Is there anything like that ?</p>
  <pre><code>&lt;Syncfusion:GridTextColumn DisplayBinding=&quot;{Binding ID, Converter={StaticResource ByteToHexadecimalConverter}}&quot; Width=&quot;100&quot;&gt;
                              &lt;Syncfusion:GridTextColumn.CellStyle&gt;
                                  &lt;Style TargetType=&quot;Syncfusion:GridCell&quot;&gt;
                                      &lt;Setter Property = &quot;Background&quot; Value=&quot;{Binding ID,Converter={StaticResource ChangedDataConverter}}&quot;/&gt;
                                      &lt;Style.Triggers&gt;
                                          &lt;EventTrigger RoutedEvent=&quot;Loaded&quot;&gt;
                                              &lt;BeginStoryboard&gt;
                                                  &lt;Storyboard&gt;
                                                      &lt;ColorAnimation Storyboard.TargetProperty=&quot;(DataGridRow.Background).(SolidColorBrush.Color)&quot; 
                                                                      Duration=&quot;00:00:10&quot; 
                                                                      To=&quot;Transparent&quot;/&gt;
                                                  &lt;/Storyboard&gt;
                                              &lt;/BeginStoryboard&gt;
                                          &lt;/EventTrigger&gt;
                                      &lt;/Style.Triggers&gt;
                                  &lt;/Style&gt;
                              &lt;/Syncfusion:GridTextColumn.CellStyle&gt;
                          &lt;/Syncfusion:GridTextColumn&gt;
  </code></pre>