112 references to IsAccessibilityObjectCreated
System.Windows.Forms (85)
System\Windows\Forms\Accessibility\LabelEditNativeWindow.cs (1)
85
if (_owningControl.TryGetTarget(out Control? target) && !target.
IsAccessibilityObjectCreated
)
System\Windows\Forms\ContextMenuStrip.cs (2)
149
if (
IsAccessibilityObjectCreated
)
164
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\Buttons\Button.cs (1)
239
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1167
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
442
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
363
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildNativeWindow.cs (1)
43
&& _owner.
IsAccessibilityObjectCreated
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (7)
1789
if (
IsAccessibilityObjectCreated
&& _childEdit is not null && ChildEditAccessibleObject.Bounds.Contains(PointToScreen(e.Location)))
2421
if (
IsAccessibilityObjectCreated
)
2491
if (
IsAccessibilityObjectCreated
&& _childEdit is not null && ContainsNavigationKeyCode(e.KeyCode))
2593
if (
IsAccessibilityObjectCreated
)
2777
if (
IsAccessibilityObjectCreated
&& _childEdit is not null)
2877
if (
IsAccessibilityObjectCreated
)
3066
if (!
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (1)
29
if (!_owner.
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
82
if (
IsAccessibilityObjectCreated
)
25601
if (!
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
388
internal bool IsParentAccessibilityObjectCreated => DataGridView is not null && DataGridView.
IsAccessibilityObjectCreated
;
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
989
if (DataGridView.
IsAccessibilityObjectCreated
&& DataGridView.AccessibilityObject is Control.ControlAccessibleObject accessibleObject)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (1)
1065
if (DataGridView.
IsAccessibilityObjectCreated
&& OsVersion.IsWindows8OrGreater())
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (1)
2179
if (DataGridView.
IsAccessibilityObjectCreated
&& OsVersion.IsWindows8OrGreater() && this[index] is DataGridViewRow row)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (4)
1053
if (
IsAccessibilityObjectCreated
)
1071
if (
IsAccessibilityObjectCreated
)
1093
if (
IsAccessibilityObjectCreated
)
1143
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\Labels\Label.cs (1)
1221
if (!
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1656
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
797
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
1313
if (
IsAccessibilityObjectCreated
&& AccessibilityObject is ListBoxAccessibleObject accessibilityObject)
1708
if (IsHandleCreated &&
IsAccessibilityObjectCreated
)
1869
if (IsHandleCreated &&
IsAccessibilityObjectCreated
)
2047
if (
IsAccessibilityObjectCreated
&& AccessibilityObject is ListBoxAccessibleObject accessibilityObject)
System\Windows\Forms\Controls\ListView\ListView.cs (6)
2211
if (
IsAccessibilityObjectCreated
4424
if (
IsAccessibilityObjectCreated
&& GroupsEnabled && e.GroupIndex >= 0 && e.GroupIndex < Groups.Count)
4770
IsAccessibilityObjectCreated
&&
4810
if (e.Item.ListView == this &&
IsAccessibilityObjectCreated
)
4919
if (
IsAccessibilityObjectCreated
)
6001
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
376
if (_listView.
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\Menus\MenuStrip.cs (2)
169
if (!TabStop && !DesignMode &&
IsAccessibilityObjectCreated
)
187
if (!TabStop && !DesignMode &&
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (3)
1431
if (
IsAccessibilityObjectCreated
)
1485
if (OsVersion.IsWindows8OrGreater() &&
IsAccessibilityObjectCreated
)
2088
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
2957
if (
IsAccessibilityObjectCreated
&& dropDown && !_gridView.DropDownVisible)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (2)
333
&& ownerGridView.
IsAccessibilityObjectCreated
470
&& ownerGridView.
IsAccessibilityObjectCreated
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (5)
796
if (gridEntry is not null &&
IsAccessibilityObjectCreated
)
1440
if (gridEntry is not null &&
IsAccessibilityObjectCreated
)
2171
if (sender is DropDownButton dropDownButton && dropDownButton.
IsAccessibilityObjectCreated
)
2418
if (EditTextBox.
IsAccessibilityObjectCreated
)
4499
if (_selectedGridEntry is not null &&
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
132
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2406
if (Parent?.
IsAccessibilityObjectCreated
== true)
System\Windows\Forms\Controls\TabControl\TabControl.cs (3)
1218
if (
IsAccessibilityObjectCreated
&& SelectedTab is not null)
1986
if (
IsAccessibilityObjectCreated
&& SelectedTab?.ParentInternal is TabControl)
1991
if (
IsAccessibilityObjectCreated
&& SelectedTab?.ParentInternal is TabControl &&
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (3)
1802
if (
IsAccessibilityObjectCreated
)
2035
if (IsHandleCreated &&
IsAccessibilityObjectCreated
&& ContainsNavigationKeyCode(e.KeyCode))
2076
if (IsHandleCreated &&
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\TextBox\TextBox.cs (3)
595
if (
IsAccessibilityObjectCreated
)
654
if (IsHandleCreated &&
IsAccessibilityObjectCreated
&& ContainsNavigationKeyCode(e.KeyCode))
664
if (IsHandleCreated &&
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
1550
if (
IsAccessibilityObjectCreated
)
1757
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
3920
if (!
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3628
internal bool IsParentAccessibilityObjectCreated => ParentInternal is not null && ParentInternal.
IsAccessibilityObjectCreated
;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
982
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Controls\TreeView\TreeView.cs (7)
2102
if (
IsAccessibilityObjectCreated
&& !e.CancelEdit && e.Node is not null)
2122
if (
IsAccessibilityObjectCreated
&& e.Node is not null)
2156
if (
IsAccessibilityObjectCreated
&& e.Node is not null)
2179
if (
IsAccessibilityObjectCreated
&& e.Node is not null)
2214
if (
IsAccessibilityObjectCreated
&& e.Node is not null)
3094
if (
IsAccessibilityObjectCreated
)
3452
if (m.LParamInternal == PInvoke.UiaRootObjectId && SupportsUiaProviders && !
IsAccessibilityObjectCreated
&& Focused)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
340
if (
IsAccessibilityObjectCreated
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (4)
28
if (
IsAccessibilityObjectCreated
&& value != base.Text)
51
if (IsHandleCreated &&
IsAccessibilityObjectCreated
)
107
if (IsHandleCreated &&
IsAccessibilityObjectCreated
&& ContainsNavigationKeyCode(e.KeyCode))
118
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\Form.cs (1)
4200
if (Focused &&
IsAccessibilityObjectCreated
&& ActiveControl is null)
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
846
&&
IsAccessibilityObjectCreated
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
365
if (
IsAccessibilityObjectCreated
)
System\Windows\Forms\ToolTip\ToolTip.cs (1)
619
if (tool is null || !tool.
IsAccessibilityObjectCreated
)
System.Windows.Forms.Tests (27)
System\Windows\Forms\AccessibleObjects\ButtonBase.ButtonBaseAccessibleObjectTests.cs (1)
261
Assert.True(control.
IsAccessibilityObjectCreated
);
System\Windows\Forms\AccessibleObjects\LabelAccessibleObjectTests.cs (1)
139
Assert.True(control.
IsAccessibilityObjectCreated
);
System\Windows\Forms\AccessibleObjects\LinkLabel.LinkLabelAccessibleObjectTests.cs (2)
184
Assert.True(linkLabel.
IsAccessibilityObjectCreated
);
188
Assert.False(linkLabel.
IsAccessibilityObjectCreated
);
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxAccessibleObjectTests.cs (2)
22
Assert.True(toolStripComboBox.Control.
IsAccessibilityObjectCreated
);
26
Assert.False(toolStripComboBox.Control.
IsAccessibilityObjectCreated
);
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripControlHostAccessibleObjectTests.cs (2)
81
Assert.True(toolStripControlHost.Control.
IsAccessibilityObjectCreated
);
85
Assert.False(toolStripControlHost.Control.
IsAccessibilityObjectCreated
);
System\Windows\Forms\AccessibleObjects\ToolStripDropDownItemAccessibleObjectTests.cs (2)
216
Assert.True(toolStripDropDownItem.DropDown.
IsAccessibilityObjectCreated
);
220
Assert.False(toolStripDropDownItem.DropDown.
IsAccessibilityObjectCreated
);
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (3)
1459
Assert.False(comboBox.
IsAccessibilityObjectCreated
);
1472
Assert.False(comboBox.
IsAccessibilityObjectCreated
);
1485
Assert.False(comboBox.
IsAccessibilityObjectCreated
);
System\Windows\Forms\ComboBoxTests.cs (12)
2184
Assert.False(comboBox.
IsAccessibilityObjectCreated
);
2206
Assert.True(comboBox.
IsAccessibilityObjectCreated
);
2226
Assert.False(comboBox.
IsAccessibilityObjectCreated
);
2248
Assert.True(comboBox.
IsAccessibilityObjectCreated
);
2291
Assert.False(comboBox.
IsAccessibilityObjectCreated
);
2311
Assert.True(comboBox.
IsAccessibilityObjectCreated
);
2331
Assert.False(comboBox.
IsAccessibilityObjectCreated
);
2351
Assert.True(comboBox.
IsAccessibilityObjectCreated
);
2367
Assert.False(comboBox.
IsAccessibilityObjectCreated
);
2382
Assert.False(comboBox.
IsAccessibilityObjectCreated
);
2398
Assert.True(comboBox.
IsAccessibilityObjectCreated
);
2417
Assert.True(comboBox.
IsAccessibilityObjectCreated
);
System\Windows\Forms\ListViewTests.cs (1)
5271
listView.
IsAccessibilityObjectCreated
.Should().BeFalse();
System\Windows\Forms\ToolStripItemTests.cs (1)
7086
Assert.True(toolStrip.
IsAccessibilityObjectCreated
);