title: How to set different background according to one property?
body: <p>I have <code>ListView</code> which <code>ItemSource</code> bindend to <code>ObservableCollection&lt;Period&gt;</code> where <code>Period</code> is</p>
  
  <pre><code> public class Period : INotifyPropertyChanged
   {
      //some stuff
      //
  
      public Status PeriodStatus
      {
          get;
          set;
      }
  
      #region PropertyChangedEventHandler members
  
      public void SendPropertyChanged(string name)
      {
          if (this.PropertyChanged != null)
              this.PropertyChanged(this, new PropertyChangedEventArgs(name));
      }
  
      public event PropertyChangedEventHandler PropertyChanged;
  
      #endregion 
  }
  
  public enum Status
  {
      None,
      Added,
      Deleted,
      Edited
  }
  </code></pre>
  
  <p>And i want set background of each <code>ListViewItem</code> in this order : added-green/deleted-red/edited-yellow/none-default . Found at here many solutions, but didn't provide my solution. If there is exist question , please comment and i will close this</p>
  
  <p><strong>[EDIT]</strong>
  I wanted to use <code>DataTemplate</code> in this way: create template which create binding with <code>Background</code> property and  <code>Status</code> in <code>Period</code> which uses converter. But didn't know how to keep rest of design </p>