11 references to SetItemCheckState
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
883
SetItemCheckState
(index, value ? CheckState.Checked : CheckState.Unchecked);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.ObjectCollection.cs (1)
38
_owner.
SetItemCheckState
(index, check);
System.Windows.Forms.Tests (5)
CheckedListBoxTests.cs (4)
360
ArgumentOutOfRangeException ex = Assert.Throws<ArgumentOutOfRangeException>(() => box.
SetItemCheckState
(index, CheckState.Checked));
371
control.
SetItemCheckState
(0, value);
376
control.
SetItemCheckState
(0, value);
387
Assert.Throws<InvalidEnumArgumentException>("value", () => control.
SetItemCheckState
(0, value));
System\Windows\Forms\AccessibleObjects\CheckedListBoxItemAccessibleObjectTests.cs (1)
262
checkedListBox.
SetItemCheckState
(0, checkState);
WinFormsControlsTest (4)
MultipleControls.Designer.cs (4)
236
this.checkedListBox1.
SetItemCheckState
(0, CheckState.Checked);
237
this.checkedListBox1.
SetItemCheckState
(1, CheckState.Indeterminate);
294
this.checkedListBox2.
SetItemCheckState
(0, CheckState.Checked);
295
this.checkedListBox2.
SetItemCheckState
(1, CheckState.Indeterminate);