18 references to AccessibilityObject
System.Windows.Forms (18)
System\Windows\Forms\Controls\ListView\ListView.cs (3)
4759
item.
AccessibilityObject
.RaiseAutomationPropertyChangedEvent(UIA_PROPERTY_ID.UIA_ToggleToggleStatePropertyId, (VARIANT)(int)oldValue, (VARIANT)(int)newValue);
4865
firstSelectedItem.
AccessibilityObject
.RaiseAutomationEvent(UIA_EVENT_ID.UIA_AutomationFocusChangedEventId);
6693
AccessibleObject accessibleObject = SelectedItems[0].
AccessibilityObject
;
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (5)
103
return index < owningListView.Items.Count ? owningListView.Items[index].
AccessibilityObject
: null;
185
: (owningListView.FocusedItem?.
AccessibilityObject
?? owningListView.FocusedGroup?.AccessibilityObject);
219
return owningListView.Items.Count == 0 ? null : owningListView.Items[^1].
AccessibilityObject
;
252
selectedItemProviders[i] = owningListView.Items[owningListView.SelectedIndices[i]].
AccessibilityObject
;
310
AccessibleObject itemAccessibleObject = hitTestInfo.Item.
AccessibilityObject
;
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (3)
247
return visibleItems.Count > 0 ? visibleItems[visibleItems.Count - 1].
AccessibilityObject
: null;
267
return visibleItems[index].
AccessibilityObject
;
280
if (visibleItems[i].
AccessibilityObject
== child)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
378
AccessibilityObject
.RaiseAutomationEvent(UIA_EVENT_ID.UIA_AutomationFocusChangedEventId);
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (3)
46
neighboringRectangles.Add(
AccessibilityObject
.Bounds);
50
neighboringRectangles.Add(_listView.Items[Index - 1].
AccessibilityObject
.Bounds);
55
neighboringRectangles.Add(_listView.Items[Index + 1].
AccessibilityObject
.Bounds);
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemImageAccessibleObject.cs (1)
36
public override AccessibleObject Parent => _owningItem.
AccessibilityObject
;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObject.cs (1)
101
=> (ListViewItemBaseAccessibleObject)_owningItem.
AccessibilityObject
;
System\Windows\Forms\Controls\ListView\ListViewLabelEditAccessibleObject.cs (1)
31
? target._selectedItem?.
AccessibilityObject