CheckedListBox data binding to checked state of Items
<p>I tried to set DataSource of CheckedListBox like this:</p>

<pre><code>private void Form1_Load(object sender, EventArgs e)
    {
        checkedListBox1.DisplayMember = "Name";
        checkedListBox1.ValueMember = "Checked";
        _bindingList = new BindingList&lt;CustomBindingClass&gt;(
            new List&lt;CustomBindingClass&gt;
        {
            new CustomBindingClass {Checked = CheckState.Checked, Name = "Item1"},
            new CustomBindingClass {Checked = CheckState.Checked, Name = "Item2"},
            new CustomBindingClass {Checked = CheckState.Unchecked, Name = "Item3"},
        });
        checkedListBox1.DataSource = _bindingList;
    }
</code></pre>

<p>And It's working but partially. I'm able to do the fallowing later</p>

<pre><code>_bindingList.RemoveAt(0);
</code></pre>

<p>or <code>_bindingList[0].Name = "TestTest";</code> and CheckedListBox updates well except items are not checked. This is not working</p>

<pre><code>_bindingList[0].Checked=CheckState.Checked;
</code></pre>

<p>I also tested to do it when <code>Checked</code>Property from my <code>CustomBindingClass</code> is of type bool, but doesn't works either. Any suggestion what should be the type of <code>ValueMember</code> property ?</p>