8 overrides of GetFocus
System.Windows.Forms (8)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildListUiaProvider.cs (1)
138internal override IRawElementProviderFragment.Interface? GetFocus() => GetFocused();
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
391internal override IRawElementProviderFragment.Interface? GetFocus() => GetFocused();
System\Windows\Forms\Controls\ListBoxes\ListBox.AccessibleObject.cs (1)
95internal override IRawElementProviderFragment.Interface? GetFocus() => this.IsOwnerHandleCreated(out ListBox? _) ? GetFocused() : null;
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
182internal override IRawElementProviderFragment.Interface? GetFocus()
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (1)
382internal override IRawElementProviderFragment.Interface? GetFocus() => _focusedCellAccessibleObject;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyGridAccessibleObject.cs (1)
192internal override IRawElementProviderFragment.Interface? GetFocus() => GetFocused();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (1)
61internal override IRawElementProviderFragment.Interface? GetFocus() => GetFocused();
System\Windows\Forms\Controls\ToolStrips\StatusStrip.StatusStripAccessibleObject.cs (1)
21internal override IRawElementProviderFragment.Interface? GetFocus()
2 references to GetFocus
System.Windows.Forms (2)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
1126*pRetVal = ComHelpers.TryGetComPointer<IRawElementProviderFragment>(GetFocus());
System\Windows\Forms\Controls\ListView\ListView.cs (1)
4711AccessibilityObject.GetFocus() is AccessibleObject focusedAccessibleObject)