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