public SetItemCheckState ( int index, CheckState value ) : void | ||
index | int | |
value | CheckState | |
return | void |
checkedListBox1.SetItemCheckState(0, CheckState.Checked);
foreach (var item in checkedListBox1.Items) { checkedListBox1.SetItemCheckState(checkedListBox1.Items.IndexOf(item), CheckState.Unchecked); }Package library: The SetItemCheckState method is part of the System.Windows.Forms namespace, which is contained in the .NET Framework Class Library.
public SetItemCheckState ( int index, CheckState value ) : void | ||
index | int | |
value | CheckState | |
return | void |