33 overrides of Bounds
System.Windows.Forms (31)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildDropDownButtonUiaProvider.cs (1)
44
public override unsafe Rectangle
Bounds
=> SystemIAccessible.TryGetLocation(GetChildId());
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildTextUiaProvider.cs (1)
34
public override Rectangle
Bounds
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (1)
33
public override Rectangle
Bounds
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (1)
26
public override Rectangle
Bounds
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
29
public override Rectangle
Bounds
=> GetAccessibleObjectBounds(GetAccessibleObjectParent());
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (1)
39
public override Rectangle
Bounds
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (1)
27
public override Rectangle
Bounds
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (1)
53
public override Rectangle
Bounds
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
34
public override Rectangle
Bounds
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (1)
39
public override Rectangle
Bounds
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemImageAccessibleObject.cs (1)
21
public override Rectangle
Bounds
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObject.cs (1)
32
public override Rectangle
Bounds
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarAccessibleObject.cs (1)
53
public override Rectangle
Bounds
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarBodyAccessibleObject.cs (1)
45
public override Rectangle
Bounds
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarCellAccessibleObject.cs (1)
52
public override Rectangle
Bounds
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarHeaderAccessibleObject.cs (1)
43
public override Rectangle
Bounds
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarNextButtonAccessibleObject.cs (1)
28
public override Rectangle
Bounds
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarPreviousButtonAccessibleObject.cs (1)
28
public override Rectangle
Bounds
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarRowAccessibleObject.cs (1)
48
public override Rectangle
Bounds
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarTodayLinkAccessibleObject.cs (1)
29
public override Rectangle
Bounds
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
28
public override Rectangle
Bounds
System\Windows\Forms\Controls\TabControl\TabControl.TabControlAccessibleObject.cs (1)
18
public override Rectangle
Bounds
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (1)
23
public override Rectangle
Bounds
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
296
public override Rectangle
Bounds
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarAccessibleObject.cs (1)
22
public override Rectangle
Bounds
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarChildAccessibleObject.cs (1)
20
public override Rectangle
Bounds
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (1)
23
public override Rectangle
Bounds
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.DirectionButtonAccessibleObject.cs (1)
27
public override Rectangle
Bounds
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.ControlItemAccessibleObject.cs (1)
33
public override Rectangle
Bounds
System\Windows\Forms\Form.AccessibleObject.cs (1)
21
public override Rectangle
Bounds
=> this.IsOwnerHandleCreated(out Control? owner)
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarChildAccessibleObject.cs (1)
21
public override Rectangle
Bounds
System.Windows.Forms.Design (2)
System\Drawing\Design\ColorEditor.ColorPalette.ColorPaletteAccessibleObject.ColorCellAccessibleObject.cs (1)
27
public override Rectangle
Bounds
System\Windows\Forms\Design\ControlDesigner.ControlDesignerAccessibleObject.cs (1)
24
public override Rectangle
Bounds
=> _control.AccessibilityObject.Bounds;
49 references to Bounds
System.Windows.Forms (47)
System\Windows\Forms\Accessibility\AccessibleObject.cs (6)
546
if (child is not null && child.
Bounds
.Contains(x, y))
562
return
Bounds
.Contains(x, y) ? this : null;
616
UIA_PROPERTY_ID.UIA_BoundingRectanglePropertyId => UiaTextProvider.BoundingRectangleAsVariant(
Bounds
),
718
internal virtual Rectangle BoundingRectangle =>
Bounds
;
1697
Rectangle bounds =
Bounds
;
1710
Rectangle bounds = child.
Bounds
;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildTextUiaProvider.cs (1)
38
return _owner.AccessibilityObject.
Bounds
;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (2)
162
if (!_owningComboBox.DroppedDown || !_owningComboBox.ChildListAccessibleObject.
Bounds
.IntersectsWith(Bounds))
178
Rectangle listBounds = _owningComboBox.ChildListAccessibleObject.
Bounds
;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1794
if (IsAccessibilityObjectCreated && _childEdit is not null && ChildEditAccessibleObject.
Bounds
.Contains(PointToScreen(e.Location)))
System\Windows\Forms\Controls\DataGridView\DataGridView.DataGridViewEditingPanelAccessibleObject.cs (1)
24
=> this.TryGetOwnerAs(out Panel? owner) ? owner.AccessibilityObject.
Bounds
: default;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
283
Rectangle IKeyboardToolTip.GetNativeScreenRectangle() => AccessibilityObject.
Bounds
;
318
_nonEmptyNeighbors.Add(DataGridView.Rows[i].Cells[j].AccessibilityObject.
Bounds
);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
325
Rectangle rowRect = parentAccObject.
Bounds
;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (1)
61
Rectangle dataGridViewRect = ParentPrivate!.
Bounds
;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (1)
33
Rectangle rowRect = ParentPrivate.
Bounds
;
System\Windows\Forms\Controls\Labels\LinkLabel.LinkLabelAccessibleObject.cs (1)
72
return
Bounds
.Contains(x, y) ? this : null;
System\Windows\Forms\Controls\ListBoxes\ListBox.AccessibleObject.cs (2)
261
if (child is not null && child.
Bounds
.Contains(x, y))
268
if (
Bounds
.Contains(x, y))
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
299
if (visibleGroups[i].AccessibilityObject?.
Bounds
.Contains(hitTestPoint) == true)
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
63
Rectangle listViewBounds = _owningListView.AccessibilityObject.
Bounds
;
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (5)
46
neighboringRectangles.Add(AccessibilityObject.
Bounds
);
50
neighboringRectangles.Add(_listView.Items[Index - 1].AccessibilityObject.
Bounds
);
55
neighboringRectangles.Add(_listView.Items[Index + 1].AccessibilityObject.
Bounds
);
70
bool IKeyboardToolTip.IsHoveredWithMouse() => _listView?.AccessibilityObject.
Bounds
.Contains(Control.MousePosition) ?? false;
96
Rectangle listviewBounds = _listView.AccessibilityObject.
Bounds
;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (2)
43
_owningListView.AccessibilityObject.
Bounds
.X + _owningItem.Bounds.X,
44
_owningListView.AccessibilityObject.
Bounds
.Y + _owningItem.Bounds.Y,
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemListAccessibleObject.cs (2)
21
_owningListView.AccessibilityObject.
Bounds
.X + _owningItem.Bounds.X,
22
_owningListView.AccessibilityObject.
Bounds
.Y + _owningItem.Bounds.Y,
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObject.cs (2)
64
_owningListView.AccessibilityObject.
Bounds
.X + bounds.X,
65
_owningListView.AccessibilityObject.
Bounds
.Y + bounds.Y,
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarButtonAccessibleObject.cs (1)
62
RECT rectangle =
Bounds
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (4)
2195
if (ToolbarAccessibleObject.
Bounds
.Contains(point))
2200
if (GridViewAccessibleObject.
Bounds
.Contains(point))
2205
if (CommandsPaneAccessibleObject.
Bounds
.Contains(point))
2210
if (HelpPaneAccessibleObject.
Bounds
.Contains(point))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
628
Rectangle parent = gridEntry.OwnerGrid.GridViewAccessibleObject.
Bounds
;
System\Windows\Forms\Controls\TabControl\TabControl.TabControlAccessibleObject.cs (1)
92
&& owner.SelectedTab.AccessibilityObject.
Bounds
.Contains(point))
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
214
return selectedTab.AccessibilityObject.
Bounds
.Contains(MousePosition);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.ToolStripHostedControlAccessibleObject.cs (1)
60
UIA_PROPERTY_ID.UIA_IsOffscreenPropertyId => (VARIANT)GetIsOffscreenPropertyValue(_toolStripControlHost?.Placement,
Bounds
),
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3544
Rectangle IKeyboardToolTip.GetNativeScreenRectangle() => AccessibilityObject.
Bounds
;
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.ToolStripProgressBarControlAccessibleObject.cs (1)
36
UIA_PROPERTY_ID.UIA_IsOffscreenPropertyId => (VARIANT)GetIsOffscreenPropertyValue(_ownerToolStripProgressBarControl.Owner?.Placement,
Bounds
),
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControlAccessibleObject.cs (1)
25
UIA_PROPERTY_ID.UIA_IsOffscreenPropertyId when this.TryGetOwnerAs(out TextBox? owner) => (VARIANT)GetIsOffscreenPropertyValue(owner.ToolStripControlHost?.Placement,
Bounds
),
System\Windows\Forms\Controls\TreeView\TreeNode.IKeyboardToolTip.cs (1)
45
bool IKeyboardToolTip.IsHoveredWithMouse() => TreeView?.AccessibilityObject.
Bounds
.Contains(Control.MousePosition) ?? false;
System\Windows\Forms\Controls\TreeView\TreeView.TreeViewAccessibleObject.cs (1)
72
return
Bounds
.Contains(x, y) ? this : null;
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObject.cs (1)
70
if (control.AccessibilityObject.
Bounds
.Contains(x, y))
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ControlDesigner.ControlDesignerAccessibleObject.cs (1)
24
public override Rectangle Bounds => _control.AccessibilityObject.
Bounds
;
System\Windows\Forms\Design\DesignerFrame.cs (1)
547
if (cao.
Bounds
.Contains(x, y))