7 references to GetItemCheckState
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxItemAccessibleObject.cs (2)
82
switch (_owningCheckedListBox.
GetItemCheckState
(CurrentIndex))
117
switch (_owningCheckedListBox.
GetItemCheckState
(CurrentIndex))
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
382
public bool GetItemChecked(int index) =>
GetItemCheckState
(index) != CheckState.Unchecked;
System.Windows.Forms.Tests (4)
CheckedListBoxTests.cs (4)
259
ArgumentOutOfRangeException ex = Assert.Throws<ArgumentOutOfRangeException>(() => box.
GetItemCheckState
(index));
372
Assert.Equal(value, control.
GetItemCheckState
(0));
377
Assert.Equal(value, control.
GetItemCheckState
(0));
400
Assert.Equal(expected, box.
GetItemCheckState
(0));