title: Avalonia UI C# XAML WPF - Adjust data grid row color based on column value
body: <pre><code>public class EventLogView : UserControl
  {
      private DataGrid dataGrid;
      public EventLogView()
      {
          this.InitializeComponent();
          dataGrid = this.FindControl&lt;DataGrid&gt;("EventLogsDataGrid");
          this.dataGrid.LoadingRow += new EventHandler&lt;DataGridRowEventArgs&gt;(dataGrid_LoadingRows);
      } 
  
      private void InitializeComponent()
      {
          AvaloniaXamlLoader.Load(this);
      }
  
      void dataGrid_LoadingRows(object sender, DataGridRowEventArgs e)
      {
  
      }
  }
  </code></pre>
  
  <p>I would like to change every row color to the red, if the 4th column's value is "HIGH". </p>