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)
18this.IsOwnerHandleCreated(out ButtonBase? owner) && owner.OwnerDraw && owner.MouseIsDown 24if (this.IsOwnerHandleCreated(out ButtonBase? owner))
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (7)
32if (this.IsOwnerHandleCreated(out ComboBox? owner) && owner.DroppedDown != expand) 51=> this.IsOwnerHandleCreated(out ComboBox? owner) && owner.DroppedDown 71if (!this.IsOwnerHandleCreated(out ComboBox? _)) 168if (!this.IsOwnerHandleCreated(out ComboBox? _)) 178if (!this.IsOwnerHandleCreated(out ComboBox? _)) 188if (!this.IsOwnerHandleCreated(out ComboBox? _)) 241if (!this.IsOwnerHandleCreated(out ComboBox? owner) || owner.DropDownStyle == ComboBoxStyle.Simple)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (3)
155if (!this.IsOwnerHandleCreated(out DataGridView? owner)) 377if (this.IsOwnerHandleCreated(out DataGridView? owner) && owner.CanFocus) 388=> this.IsOwnerHandleCreated(out DataGridView? _) ? HitTest((int)x, (int)y) : null;
System\Windows\Forms\Controls\DataGridView\DataGridView.DataGridViewEditingPanelAccessibleObject.cs (1)
68if (this.IsOwnerHandleCreated(out Panel? owner) && owner.CanFocus)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (3)
125if (this.IsOwnerHandleCreated(out DateTimePicker? owner)) 133if (this.IsOwnerHandleCreated(out DateTimePicker? owner) 142if (this.IsOwnerHandleCreated(out DateTimePicker? owner)
System\Windows\Forms\Controls\Labels\LinkLabel.LinkLabelAccessibleObject.cs (2)
20=> !this.IsOwnerHandleCreated(out LinkLabel? _) 59if (!this.IsOwnerHandleCreated(out LinkLabel? owner))
System\Windows\Forms\Controls\ListBoxes\ListBox.AccessibleObject.cs (8)
31internal override Rectangle BoundingRectangle => this.IsOwnerHandleCreated(out ListBox? owner) ? 37=> this.IsOwnerHandleCreated(out ListBox? owner) && owner.SelectionMode != SelectionMode.None; 40=> this.IsOwnerHandleCreated(out ListBox? owner) 63if (!this.IsOwnerHandleCreated(out ListBox? _)) 95internal override IRawElementProviderFragment.Interface? GetFocus() => this.IsOwnerHandleCreated(out ListBox? _) ? GetFocused() : null; 168if (this.IsOwnerHandleCreated(out ListBox? owner)) 176if (!this.IsOwnerHandleCreated(out ListBox? _)) 250if (!this.IsOwnerHandleCreated(out ListBox? _))
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (8)
26if (this.IsOwnerHandleCreated(out ListView? owningListView)) 37=> this.IsOwnerHandleCreated(out ListView? listView) && listView.MultiSelect; 81!this.IsOwnerHandleCreated(out ListView? _) 92if (!this.IsOwnerHandleCreated(out ListView? owningListView) || index < 0) 108if (!this.IsOwnerHandleCreated(out ListView? owningListView)) 183=> !this.IsOwnerHandleCreated(out ListView? owningListView) 244if (!this.IsOwnerHandleCreated(out ListView? owningListView)) 286if (!this.IsOwnerHandleCreated(out ListView? owningListView))
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (14)
45if (!this.IsOwnerHandleCreated(out MonthCalendar? _)) 132if (!this.IsOwnerHandleCreated(out MonthCalendar? _) || CalendarsAccessibleObjects is null) 159if (!this.IsOwnerHandleCreated(out MonthCalendar? _)) 219if (!this.IsOwnerHandleCreated(out MonthCalendar? _) || CalendarsAccessibleObjects is null) 237if (!this.IsOwnerHandleCreated(out MonthCalendar? owner)) 259if (!this.IsOwnerHandleCreated(out MonthCalendar? owner)) 281if (!this.IsOwnerHandleCreated(out MonthCalendar? owner)) 321if (!this.IsOwnerHandleCreated(out MonthCalendar? _) || CalendarsAccessibleObjects is null) 389if (!this.IsOwnerHandleCreated(out MonthCalendar? owner)) 408if (!this.IsOwnerHandleCreated(out MonthCalendar? _) || CalendarsAccessibleObjects is null) 459internal bool IsHandleCreated => this.IsOwnerHandleCreated(out MonthCalendar? _); 487if (!this.IsOwnerHandleCreated(out MonthCalendar? _)) 508if (!this.IsOwnerHandleCreated(out MonthCalendar? _) || _calendarsAccessibleObjects is null) 552if (this.IsOwnerHandleCreated(out MonthCalendar? owner))
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyGridAccessibleObject.cs (1)
24if (!this.IsOwnerHandleCreated(out PropertyGrid? owningPropertyGrid))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (2)
25=> this.IsOwnerHandleCreated(out Control? _) ? HitTest((int)x, (int)y) : null; 425if (!this.IsOwnerHandleCreated(out PropertyGridView? owner))
System\Windows\Forms\Controls\TabControl\TabControl.TabControlAccessibleObject.cs (6)
22if (!this.IsOwnerHandleCreated(out TabControl? _)) 46if (!this.IsOwnerHandleCreated(out TabControl? owner) 63if (!this.IsOwnerHandleCreated(out TabControl? owner)) 85if (!this.IsOwnerHandleCreated(out TabControl? owner)) 113if (!this.IsOwnerHandleCreated(out TabControl? owner)) 140=> !this.IsOwnerHandleCreated(out TabControl? owner) || owner.SelectedTab is null
System\Windows\Forms\Controls\TabControl\TabPage.TabPageAccessibleObject.cs (4)
16internal override Rectangle BoundingRectangle => this.IsOwnerHandleCreated(out TabPage? owner) ? 28if (!this.IsOwnerHandleCreated(out TabPage? owningTabPage)) 44=> this.IsOwnerHandleCreated(out TabPage? owningTabPage) ? owningTabPage.Controls.Count : -1; 48if (!this.IsOwnerHandleCreated(out TabPage? _) || OwningTabControl is null)
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (2)
25internal override Rectangle BoundingRectangle => this.IsOwnerHandleCreated(out TextBoxBase? owner) ? 77if (!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)
17=> this.IsOwnerHandleCreated(out ToolStrip? _) ? HitTest((int)x, (int)y) : null; 24if (!this.IsOwnerHandleCreated(out ToolStrip? owner)) 383if (!this.IsOwnerHandleCreated(out ToolStrip? _))
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarAccessibleObject.cs (5)
26if (!this.IsOwnerHandleCreated(out TrackBar? _)) 70if (!this.IsOwnerHandleCreated(out TrackBar? _)) 88if (!this.IsOwnerHandleCreated(out TrackBar? _)) 102if (!this.IsOwnerHandleCreated(out TrackBar? _)) 135if (!this.IsOwnerHandleCreated(out TrackBar? _))
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarChildAccessibleObject.cs (1)
24if (!this.IsOwnerHandleCreated(out TrackBar? _) || !IsDisplayed)
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarFirstButtonAccessibleObject.cs (2)
49if (!this.IsOwnerHandleCreated(out TrackBar? _)) 66if (this.IsOwnerHandleCreated(out TrackBar? _))
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarLastButtonAccessibleObject.cs (4)
30=> !this.IsOwnerHandleCreated(out TrackBar? _) || IsDisplayed 38if (!this.IsOwnerHandleCreated(out TrackBar? owner) 58if (!this.IsOwnerHandleCreated(out TrackBar? _)) 75if (this.IsOwnerHandleCreated(out TrackBar? _))
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarThumbAccessibleObject.cs (1)
24if (!this.IsOwnerHandleCreated(out TrackBar? _))
System\Windows\Forms\Controls\TreeView\TreeView.TreeViewAccessibleObject.cs (3)
17internal override Rectangle BoundingRectangle => this.IsOwnerHandleCreated(out ListBox? owner) ? 59if (!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)
31if (!_parent.IsOwnerHandleCreated(out UpDownButtons? owner)) 56if (!_parent.IsOwnerHandleCreated(out UpDownButtons? owner))
System\Windows\Forms\Form.AccessibleObject.cs (2)
21public override Rectangle Bounds => this.IsOwnerHandleCreated(out Control? owner) 26=> !this.IsOwnerHandleCreated(out Control? owner)
System\Windows\Forms\Panels\Panel.PanelAccessibleObject.cs (3)
18internal 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)
55if (!this.IsOwnerHandleCreated(out ScrollBar? _)) 78=> this.IsOwnerHandleCreated(out ScrollBar? _) 86if (!this.IsOwnerHandleCreated(out ScrollBar? _)) 172if (!this.IsOwnerHandleCreated(out ScrollBar? owner))