97 references to IsOwnerHandleCreated
System.Windows.Forms (97)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (2)
530
=> this.
IsOwnerHandleCreated
(out Control? _) && base.RaiseAutomationEvent(eventId);
533
=> this.
IsOwnerHandleCreated
(out Control? _)
System\Windows\Forms\Controls\Buttons\ButtonBase.ButtonBaseAccessibleObject.cs (2)
18
this.
IsOwnerHandleCreated
(out ButtonBase? owner) && owner.OwnerDraw && owner.MouseIsDown
24
if (this.
IsOwnerHandleCreated
(out ButtonBase? owner))
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (7)
32
if (this.
IsOwnerHandleCreated
(out ComboBox? owner) && owner.DroppedDown != expand)
51
=> this.
IsOwnerHandleCreated
(out ComboBox? owner) && owner.DroppedDown
71
if (!this.
IsOwnerHandleCreated
(out ComboBox? _))
168
if (!this.
IsOwnerHandleCreated
(out ComboBox? _))
178
if (!this.
IsOwnerHandleCreated
(out ComboBox? _))
188
if (!this.
IsOwnerHandleCreated
(out ComboBox? _))
241
if (!this.
IsOwnerHandleCreated
(out ComboBox? owner) || owner.DropDownStyle == ComboBoxStyle.Simple)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (3)
156
if (!this.
IsOwnerHandleCreated
(out DataGridView? owner))
378
if (this.
IsOwnerHandleCreated
(out DataGridView? owner) && owner.CanFocus)
389
=> this.
IsOwnerHandleCreated
(out DataGridView? _) ? HitTest((int)x, (int)y) : null;
System\Windows\Forms\Controls\DataGridView\DataGridView.DataGridViewEditingPanelAccessibleObject.cs (1)
68
if (this.
IsOwnerHandleCreated
(out Panel? owner) && owner.CanFocus)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (3)
125
if (this.
IsOwnerHandleCreated
(out DateTimePicker? owner))
133
if (this.
IsOwnerHandleCreated
(out DateTimePicker? owner)
142
if (this.
IsOwnerHandleCreated
(out DateTimePicker? owner)
System\Windows\Forms\Controls\Labels\LinkLabel.LinkLabelAccessibleObject.cs (2)
21
=> !this.
IsOwnerHandleCreated
(out LinkLabel? owner)
60
if (!this.
IsOwnerHandleCreated
(out LinkLabel? owner))
System\Windows\Forms\Controls\ListBoxes\ListBox.AccessibleObject.cs (8)
31
internal override Rectangle BoundingRectangle => this.
IsOwnerHandleCreated
(out ListBox? owner) ?
37
=> this.
IsOwnerHandleCreated
(out ListBox? owner) && owner.SelectionMode != SelectionMode.None;
40
=> this.
IsOwnerHandleCreated
(out ListBox? owner)
63
if (!this.
IsOwnerHandleCreated
(out ListBox? _))
95
internal override IRawElementProviderFragment.Interface? GetFocus() => this.
IsOwnerHandleCreated
(out ListBox? _) ? GetFocused() : null;
168
if (this.
IsOwnerHandleCreated
(out ListBox? owner))
176
if (!this.
IsOwnerHandleCreated
(out ListBox? _))
250
if (!this.
IsOwnerHandleCreated
(out ListBox? _))
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (8)
26
if (this.
IsOwnerHandleCreated
(out ListView? owningListView))
37
=> this.
IsOwnerHandleCreated
(out ListView? listView) && listView.MultiSelect;
81
!this.
IsOwnerHandleCreated
(out ListView? _)
92
if (!this.
IsOwnerHandleCreated
(out ListView? owningListView) || index < 0)
108
if (!this.
IsOwnerHandleCreated
(out ListView? owningListView))
183
=> !this.
IsOwnerHandleCreated
(out ListView? owningListView)
244
if (!this.
IsOwnerHandleCreated
(out ListView? owningListView))
286
if (!this.
IsOwnerHandleCreated
(out ListView? owningListView))
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (14)
46
if (!this.
IsOwnerHandleCreated
(out MonthCalendar? _))
133
if (!this.
IsOwnerHandleCreated
(out MonthCalendar? _) || CalendarsAccessibleObjects is null)
160
if (!this.
IsOwnerHandleCreated
(out MonthCalendar? _))
220
if (!this.
IsOwnerHandleCreated
(out MonthCalendar? _) || CalendarsAccessibleObjects is null)
238
if (!this.
IsOwnerHandleCreated
(out MonthCalendar? owner))
260
if (!this.
IsOwnerHandleCreated
(out MonthCalendar? owner))
282
if (!this.
IsOwnerHandleCreated
(out MonthCalendar? owner))
322
if (!this.
IsOwnerHandleCreated
(out MonthCalendar? _) || CalendarsAccessibleObjects is null)
390
if (!this.
IsOwnerHandleCreated
(out MonthCalendar? owner))
409
if (!this.
IsOwnerHandleCreated
(out MonthCalendar? _) || CalendarsAccessibleObjects is null)
460
internal bool IsHandleCreated => this.
IsOwnerHandleCreated
(out MonthCalendar? _);
488
if (!this.
IsOwnerHandleCreated
(out MonthCalendar? _))
509
if (!this.
IsOwnerHandleCreated
(out MonthCalendar? _) || _calendarsAccessibleObjects is null)
553
if (this.
IsOwnerHandleCreated
(out MonthCalendar? owner))
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyGridAccessibleObject.cs (1)
25
if (!this.
IsOwnerHandleCreated
(out PropertyGrid? owningPropertyGrid))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (2)
26
=> this.
IsOwnerHandleCreated
(out Control? _) ? HitTest((int)x, (int)y) : null;
426
if (!this.
IsOwnerHandleCreated
(out PropertyGridView? owner))
System\Windows\Forms\Controls\TabControl\TabControl.TabControlAccessibleObject.cs (6)
22
if (!this.
IsOwnerHandleCreated
(out TabControl? _))
46
if (!this.
IsOwnerHandleCreated
(out TabControl? owner)
63
if (!this.
IsOwnerHandleCreated
(out TabControl? owner))
85
if (!this.
IsOwnerHandleCreated
(out TabControl? owner))
113
if (!this.
IsOwnerHandleCreated
(out TabControl? owner))
140
=> !this.
IsOwnerHandleCreated
(out TabControl? owner) || owner.SelectedTab is null
System\Windows\Forms\Controls\TabControl\TabPage.TabPageAccessibleObject.cs (4)
16
internal override Rectangle BoundingRectangle => this.
IsOwnerHandleCreated
(out TabPage? owner) ?
28
if (!this.
IsOwnerHandleCreated
(out TabPage? owningTabPage))
44
=> this.
IsOwnerHandleCreated
(out TabPage? owningTabPage) ? owningTabPage.Controls.Count : -1;
48
if (!this.
IsOwnerHandleCreated
(out TabPage? _) || OwningTabControl is null)
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (2)
25
internal override Rectangle BoundingRectangle => this.
IsOwnerHandleCreated
(out TextBoxBase? owner) ?
77
if (!this.
IsOwnerHandleCreated
(out Control? _))
System\Windows\Forms\Controls\ToolStrips\StatusStrip.StatusStripAccessibleObject.cs (2)
19
=> this.
IsOwnerHandleCreated
(out StatusStrip? _) ? HitTest((int)x, (int)y) : null;
22
=> this.
IsOwnerHandleCreated
(out StatusStrip? _) ? GetFocused() : null;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (3)
18
=> this.
IsOwnerHandleCreated
(out ToolStrip? _) ? HitTest((int)x, (int)y) : null;
25
if (!this.
IsOwnerHandleCreated
(out ToolStrip? owner))
384
if (!this.
IsOwnerHandleCreated
(out ToolStrip? _))
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarAccessibleObject.cs (5)
26
if (!this.
IsOwnerHandleCreated
(out TrackBar? _))
70
if (!this.
IsOwnerHandleCreated
(out TrackBar? _))
88
if (!this.
IsOwnerHandleCreated
(out TrackBar? _))
102
if (!this.
IsOwnerHandleCreated
(out TrackBar? _))
135
if (!this.
IsOwnerHandleCreated
(out TrackBar? _))
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarChildAccessibleObject.cs (1)
24
if (!this.
IsOwnerHandleCreated
(out TrackBar? _) || !IsDisplayed)
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarFirstButtonAccessibleObject.cs (2)
49
if (!this.
IsOwnerHandleCreated
(out TrackBar? _))
66
if (this.
IsOwnerHandleCreated
(out TrackBar? _))
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarLastButtonAccessibleObject.cs (4)
30
=> !this.
IsOwnerHandleCreated
(out TrackBar? _) || IsDisplayed
38
if (!this.
IsOwnerHandleCreated
(out TrackBar? owner)
58
if (!this.
IsOwnerHandleCreated
(out TrackBar? _))
75
if (this.
IsOwnerHandleCreated
(out TrackBar? _))
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarThumbAccessibleObject.cs (1)
24
if (!this.
IsOwnerHandleCreated
(out TrackBar? _))
System\Windows\Forms\Controls\TreeView\TreeView.TreeViewAccessibleObject.cs (3)
17
internal override Rectangle BoundingRectangle => this.
IsOwnerHandleCreated
(out ListBox? owner) ?
59
if (!this.
IsOwnerHandleCreated
(out TreeView? owningTreeView))
114
=> this.
IsOwnerHandleCreated
(out TreeView? _) && GetSelected() is IRawElementProviderSimple.Interface selected
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.DirectionButtonAccessibleObject.cs (2)
31
if (!_parent.
IsOwnerHandleCreated
(out UpDownButtons? owner))
56
if (!_parent.
IsOwnerHandleCreated
(out UpDownButtons? owner))
System\Windows\Forms\Form.AccessibleObject.cs (2)
21
public override Rectangle Bounds => this.
IsOwnerHandleCreated
(out Control? owner)
26
=> !this.
IsOwnerHandleCreated
(out Control? owner)
System\Windows\Forms\Panels\Panel.PanelAccessibleObject.cs (3)
18
internal override Rectangle BoundingRectangle => this.
IsOwnerHandleCreated
(out Panel? owner) ?
24
!this.
IsOwnerHandleCreated
(out Panel? owner) || index < 0 || index >= owner.Controls.Count
31
=> this.
IsOwnerHandleCreated
(out Panel? owner) ? owner.Controls.Count : -1;
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarAccessibleObject.cs (4)
56
if (!this.
IsOwnerHandleCreated
(out ScrollBar? _))
79
=> this.
IsOwnerHandleCreated
(out ScrollBar? _)
87
if (!this.
IsOwnerHandleCreated
(out ScrollBar? _))
173
if (!this.
IsOwnerHandleCreated
(out ScrollBar? owner))