title: How to redraw the items in CheckedListBox control?
body: <p>Currently i'm working on WindowsForms application. In that i have used checkedlistbox to display the display member of combobox column. i need to draw the display member of the combobox column instead of value member, How to change the text of the checkedListBox items.</p>
  
  <pre><code>internal class CheckedListBoxAdv:System.Windows.Forms.CheckedListBox
  {
  
  public CheckedListBoxAdv()
        :base()
  { }
  protected override void OnDrawItem(System.Windows.Forms.DrawItemEventArgs e)
  {
     if(this.Items.Count &gt; 0)
     {
        if (excelFilter.displayMemberColList.ContainsKey(this.Items[e.Index].ToString()))
                              e.Graphics.DrawString(excelFilter.displayMemberColList[this.Items[e.Index].ToString()], Font, Brushes.Black, e.Bounds);
     }
  
  }
  base.OnDrawItem(e);
  }
       }
  </code></pre>