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