title: C# ContextMenuStrip item properties !
body: <p>how to set and get the colors value to text and/or Background of an item in a context menu strip based on the value?</p>
  
  <p>is this code right way?</p>
  
  <pre><code>ContextMenuStrip1.Items.Add("this is an item").BackColor = Color.FromArgb(255, 179, 179);
  </code></pre>
  
  <p>but I can not find out a way to get the color value!</p>
  
  <p>I did this:</p>
  
  <pre><code>int i = ContextMenuStrip1.Items.IndexOfKey("this is an item");
  Color c = ContextMenuStrip1.Items[i].BackColor; // I get error in here!
  </code></pre>
  
  <p>but it is not working !!!!</p>
  
  <p>also how to get or/and set other properties based on the item string value (example "this is an item")?</p>
  
  <p>cheers</p>