13 references to CurrentIndex
System.Windows.Forms (13)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxItemAccessibleObject.cs (5)
42_owningCheckedListBox.SetItemChecked(CurrentIndex, !IsItemChecked); 52private bool IsItemChecked => _owningCheckedListBox.GetItemChecked(CurrentIndex); 82switch (_owningCheckedListBox.GetItemCheckState(CurrentIndex)) 96if (_owningCheckedListBox.SelectedIndex == CurrentIndex) 117switch (_owningCheckedListBox.GetItemCheckState(CurrentIndex))
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (8)
62Rectangle bounds = _owningListBox.GetItemRectangle(CurrentIndex); 104if (_owningListBox.SelectedIndex == CurrentIndex) 133int currentIndex = CurrentIndex; 161return CurrentIndex + 1; 168UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => (VARIANT)(_owningListBox.Focused && _owningListBox.FocusedIndex == CurrentIndex), 193_owningListBox.SetSelected(CurrentIndex, value: false); 203int currentIndex = CurrentIndex; 250_owningListBox.SelectedIndex = CurrentIndex;