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