48 types derived from ControlAccessibleObject
System.Windows.Forms (40)
System\Windows\Forms\Controls\Buttons\ButtonBase.ButtonBaseAccessibleObject.cs (1)
8
public class ButtonBaseAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (1)
15
internal class ComboBoxAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
11
protected class DataGridViewAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\DataGridView\DataGridView.DataGridViewEditingPanelAccessibleObject.cs (1)
13
internal sealed class DataGridViewEditingPanelAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (1)
11
public class DateTimePickerAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\GroupBox\GroupBox.GroupBoxAccessibleObject.cs (1)
11
internal class GroupBoxAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\Labels\Label.LabelAccessibleObject.cs (1)
8
internal class LabelAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\ListBoxes\ListBox.AccessibleObject.cs (1)
16
internal class ListBoxAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
12
internal class ListViewAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (1)
14
internal sealed class MonthCalendarAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\PictureBox\PictureBox.PictureBoxAccessibleObject.cs (1)
11
internal class PictureBoxAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\ProgressBar\ProgressBar.ProgressBarAccessibleObject.cs (1)
11
internal class ProgressBarAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyGridAccessibleObject.cs (1)
14
internal class PropertyGridAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.CommandsPaneAccessibleObject.cs (1)
14
internal sealed class CommandsPaneAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DetailsButton.DetailsButtonAccessibleObject.cs (1)
11
internal class DetailsButtonAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAccessibleObject.cs (1)
16
internal class DropDownButtonAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.HelpPaneAccessibleObject.cs (1)
14
internal sealed class HelpPaneAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObject.cs (1)
13
internal sealed class DropDownHolderAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (1)
15
internal class PropertyGridViewAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\Splitter\Splitter.SplitterAccessibleObject.cs (1)
11
internal class SplitterAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\TabControl\TabControl.TabControlAccessibleObject.cs (1)
12
internal sealed class TabControlAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\TabControl\TabPage.TabPageAccessibleObject.cs (1)
12
internal sealed class TabPageAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (1)
14
internal unsafe class TextBoxBaseAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (1)
10
public class ToolStripAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.ToolStripContainerAccessibleObject.cs (1)
11
internal class ToolStripContainerAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.ToolStripHostedControlAccessibleObject.cs (1)
16
public class ToolStripHostedControlAccessibleObject : Control.
ControlAccessibleObject
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelAccessibleObject.cs (1)
11
internal class ToolStripPanelAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarAccessibleObject.cs (1)
12
internal sealed class TrackBarAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\TreeView\TreeView.TreeViewAccessibleObject.cs (1)
13
internal sealed class TreeViewAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainUpDownAccessibleObject.cs (1)
16
public class DomainUpDownAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownBaseAccessibleObject.cs (1)
8
internal sealed class UpDownBaseAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.cs (1)
12
internal sealed partial class UpDownButtonsAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.DirectionButtonAccessibleObject.cs (1)
14
internal partial class UpDownButtonsAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Controls\WebBrowser\WebBrowser.WebBrowserAccessibleObject.cs (1)
11
internal class WebBrowserAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Form.AccessibleObject.cs (1)
15
internal class FormAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Layout\Containers\SplitContainer.SplitContainerAccessibleObject.cs (1)
11
internal class SplitContainerAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Panels\Panel.PanelAccessibleObject.cs (1)
12
internal sealed class PanelAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibleObject.cs (1)
13
internal sealed class PrintPreviewControlAccessibleObject :
ControlAccessibleObject
, IScrollProvider.Interface
System\Windows\Forms\Printing\StatusDialogAccessibility.cs (1)
13
public class StatusDialogAccessibility :
ControlAccessibleObject
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarAccessibleObject.cs (1)
11
internal class ScrollBarAccessibleObject :
ControlAccessibleObject
System.Windows.Forms.Design (5)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
349
private sealed class EditorLabelAccessibleObject :
ControlAccessibleObject
System\Drawing\Design\ColorEditor.ColorPalette.ColorPaletteAccessibleObject.cs (1)
12
public partial class ColorPaletteAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
329
private class SpringControlAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Design\ComponentTray.cs (1)
2568
private class TrayControlAccessibleObject :
ControlAccessibleObject
System\Windows\Forms\Design\DesignerFrame.cs (1)
535
public class OverlayControlAccessibleObject :
ControlAccessibleObject
System.Windows.Forms.Tests (3)
System\Windows\Forms\AccessibleObjects\ButtonBase.ButtonBaseAccessibleObjectTests.cs (1)
292
private class ControlAccessibleObjectWithNotificationCounter : Control.
ControlAccessibleObject
System\Windows\Forms\AccessibleObjects\LabelAccessibleObjectTests.cs (1)
197
private class ControlAccessibleObjectWithNotificationCounter : Control.
ControlAccessibleObject
System\Windows\Forms\ComboBoxTests.cs (1)
2781
private class AutomationEventCountingComboBoxAccessibleObject : Control.
ControlAccessibleObject
57 instantiations of ControlAccessibleObject
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (2)
451
ncAccessibleObject = new
ControlAccessibleObject
(this, (int)OBJECT_IDENTIFIER.OBJID_WINDOW);
4428
return new
ControlAccessibleObject
(this);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
3135
protected override AccessibleObject CreateAccessibilityInstance() => new
ControlAccessibleObject
(this);
System.Windows.Forms.Interop.Tests (1)
AccessibleObjectTests.cs (1)
493
ParentResult = new Control.
ControlAccessibleObject
(control)
System.Windows.Forms.Tests (53)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (52)
64
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
96
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
122
Assert.Throws<ArgumentNullException>("ownerControl", () => new Control.
ControlAccessibleObject
(null));
167
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
182
var controlAccessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
204
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
216
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
235
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
269
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
286
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
347
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
362
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
377
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
447
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
472
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
496
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
547
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
563
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
579
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
688
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
714
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
739
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
748
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl)
840
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
850
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl)
867
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl)
883
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
891
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
901
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
912
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
920
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
955
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
994
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1005
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1014
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1023
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1034
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1045
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1053
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1061
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1071
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1090
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1108
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1116
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1138
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1157
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1167
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1178
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1187
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1206
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1218
var accessibleObject = new Control.
ControlAccessibleObject
(ownerControl);
1240
var accessibleObject = new Control.
ControlAccessibleObject
(control);
System\Windows\Forms\ControlTests.Properties.cs (1)
84
var controlAccessibleObject = new Control.
ControlAccessibleObject
(control1);
157 references to ControlAccessibleObject
System.Windows.Forms (11)
src\Common\src\Obsoletions.cs (1)
17
internal const string DomainUpDownAccessibleObjectMessage = $"DomainUpDownAccessibleObject is no longer used to provide accessible support for {nameof(DomainUpDown)} controls. Use {nameof(Control.
ControlAccessibleObject
)} instead.";
System\Windows\Forms\Accessibility\AccessibleObject.cs (2)
275
/// <see cref="Control.
ControlAccessibleObject
"/>. <see cref="Control.
ControlAccessibleObject
"/> always
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (2)
230
/// The value of the <see cref="Handle"/> property for the <see cref="
ControlAccessibleObject
"/> is equal to
556
=> $"{nameof(
ControlAccessibleObject
)}: Owner = {Owner?.ToString() ?? "null"}";
System\Windows\Forms\Control.cs (4)
7285
if (Properties.TryGetValue(s_accessibilityProperty, out
ControlAccessibleObject
? clientAccessibleObject))
7292
if (Properties.TryGetValue(s_ncAccessibilityProperty, out
ControlAccessibleObject
? nonClientAccessibleObject))
7432
if (Properties.TryGetValue(s_accessibilityProperty, out
ControlAccessibleObject
? accObj))
7439
if (Properties.TryGetValue(s_ncAccessibilityProperty, out
ControlAccessibleObject
? nonClientAccessibleObject))
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
989
if (DataGridView.IsAccessibilityObjectCreated && DataGridView.AccessibilityObject is Control.
ControlAccessibleObject
accessibleObject)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2420
((
ControlAccessibleObject
)EditTextBox.AccessibilityObject).NotifyClients(AccessibleEvents.Focus);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ControlDesigner.ControlDesignerAccessibleObject.cs (2)
67
if (_control.AccessibilityObject.GetChild(index) is Control.
ControlAccessibleObject
childAccObj)
81
private AccessibleObject? GetDesignerAccessibleObject(Control.
ControlAccessibleObject
cao)
System.Windows.Forms.Tests (144)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (72)
64
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
96
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
131
Assert.IsType<Control.
ControlAccessibleObject
>(accessibleObject);
133
Control.
ControlAccessibleObject
controlAccessibleObject = (Control.
ControlAccessibleObject
)accessibleObject;
151
Assert.IsType<Control.
ControlAccessibleObject
>(accessibleObject);
153
Control.
ControlAccessibleObject
controlAccessibleObject = (Control.
ControlAccessibleObject
)accessibleObject;
167
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
182
var
controlAccessibleObject = new Control.ControlAccessibleObject(ownerControl);
204
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
216
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
235
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
269
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
286
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
347
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
362
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
377
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
447
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
472
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
496
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
547
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
563
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
579
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
688
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
714
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
739
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
748
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl)
840
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
850
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl)
867
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl)
883
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
891
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
901
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
912
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
920
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
955
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
994
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1005
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1014
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1023
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1034
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1045
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1053
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1061
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1071
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1090
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1108
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1116
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1138
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1157
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1167
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1178
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1187
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1206
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1218
var
accessibleObject = new Control.ControlAccessibleObject(ownerControl);
1240
var
accessibleObject = new Control.ControlAccessibleObject(control);
1434
Assert.True(control.AccessibilityObject is Control.
ControlAccessibleObject
);
1463
Assert.True(control.AccessibilityObject is Control.
ControlAccessibleObject
);
1480
Assert.True(control.AccessibilityObject is Control.
ControlAccessibleObject
);
1496
Assert.True(control.AccessibilityObject is Control.
ControlAccessibleObject
);
1532
Assert.True(control.AccessibilityObject is Control.
ControlAccessibleObject
);
1570
Assert.True(control.AccessibilityObject is Control.
ControlAccessibleObject
);
1606
Assert.True(control.AccessibilityObject is Control.
ControlAccessibleObject
);
1630
Control.
ControlAccessibleObject
accessibleObject = CreateAndDisposeControl();
1635
static Control.
ControlAccessibleObject
CreateAndDisposeControl()
1638
var
accessibleObject = (Control.
ControlAccessibleObject
)control.AccessibilityObject;
1650
Control.
ControlAccessibleObject
accessibleObject = CreateAndDisposeControl(type);
1655
static Control.
ControlAccessibleObject
CreateAndDisposeControl(Type type)
1658
var
accessibleObject = (Control.
ControlAccessibleObject
)control.AccessibilityObject;
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (2)
456
Control.
ControlAccessibleObject
accessibleObject = (Control.
ControlAccessibleObject
)dataGridView.AccessibilityObject;
System\Windows\Forms\AccessibleObjects\DataGridViewComboBoxEditingControlAccessibleObjectTests.cs (1)
117
Assert.True(control.AccessibilityObject is Control.
ControlAccessibleObject
);
System\Windows\Forms\AccessibleObjects\DataGridViewTextBoxEditingControl.DataGridViewTextBoxEditingControlAccessibleObjectTests.cs (1)
141
Assert.True(control.AccessibilityObject is Control.
ControlAccessibleObject
);
System\Windows\Forms\AccessibleObjects\ProgressBarAccessibleObjectTests.cs (8)
24
Control.
ControlAccessibleObject
accessibilityObject = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(ownerControl.AccessibilityObject);
49
Control.
ControlAccessibleObject
accessibilityObject = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(ownerControl.AccessibilityObject);
87
Control.
ControlAccessibleObject
accessibilityObject = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(ownerControl.AccessibilityObject);
106
Control.
ControlAccessibleObject
accessibilityObject = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(ownerControl.AccessibilityObject);
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (14)
242
ControlAccessibleObject
accessibleObject = (
ControlAccessibleObject
)propertyGrid.GridViewAccessibleObject;
283
ControlAccessibleObject
accessibleObject = (
ControlAccessibleObject
)propertyGrid.GridViewAccessibleObject;
292
ControlAccessibleObject
accessibleObject = (
ControlAccessibleObject
)propertyGrid.GridViewAccessibleObject;
300
ControlAccessibleObject
accessibleObject = (
ControlAccessibleObject
)propertyGrid.GridViewAccessibleObject;
310
ControlAccessibleObject
gridViewAccessibleObject = (
ControlAccessibleObject
)propertyGrid.GridViewAccessibleObject;
322
ControlAccessibleObject
gridViewAccessibleObject = (
ControlAccessibleObject
)propertyGrid.GridViewAccessibleObject;
333
ControlAccessibleObject
gridViewAccessibleObject = (
ControlAccessibleObject
)propertyGrid.GridViewAccessibleObject;
System\Windows\Forms\AccessibleObjects\ToolStripTextBox.ToolStripTextBoxControlAccessibleObjectTests.cs (2)
21
ControlAccessibleObject
accessibleObject = (
ControlAccessibleObject
)Activator.CreateInstance(type, textBox);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (10)
25
Control.
ControlAccessibleObject
accessibilityObject = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(ownerControl.AccessibilityObject);
50
Control.
ControlAccessibleObject
accessibilityObject = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(ownerControl.AccessibilityObject);
88
Control.
ControlAccessibleObject
accessibilityObject = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(ownerControl.AccessibilityObject);
116
Control.
ControlAccessibleObject
accessibilityObject = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(ownerControl.AccessibilityObject);
134
Control.
ControlAccessibleObject
accessibilityObject = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(ownerControl.AccessibilityObject);
System\Windows\Forms\ControlTests.Methods.cs (2)
406
Control.
ControlAccessibleObject
instance = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(control.CreateAccessibilityInstance());
System\Windows\Forms\ControlTests.Properties.cs (5)
30
Control.
ControlAccessibleObject
accessibleObject = Assert.IsType<Control.
ControlAccessibleObject
>(control.AccessibilityObject);
48
Control.
ControlAccessibleObject
accessibleObject = Assert.IsType<Control.
ControlAccessibleObject
>(control.AccessibilityObject);
84
var
controlAccessibleObject = new Control.ControlAccessibleObject(control1);
System\Windows\Forms\DataGridViewCellTests.cs (1)
4752
Assert.True(dataGridView.AccessibilityObject is Control.
ControlAccessibleObject
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (4)
986
Control.
ControlAccessibleObject
instance = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(control.CreateAccessibilityInstance());
1002
Control.
ControlAccessibleObject
instance = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(control.CreateAccessibilityInstance());
System\Windows\Forms\GroupBoxTests.cs (4)
1384
Control.
ControlAccessibleObject
instance = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(control.CreateAccessibilityInstance());
1399
Control.
ControlAccessibleObject
instance = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(control.CreateAccessibilityInstance());
System\Windows\Forms\ListBoxTests.cs (2)
4762
Control.
ControlAccessibleObject
instance = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(control.CreateAccessibilityInstance());
System\Windows\Forms\MonthCalendarTests.cs (2)
2294
Control.
ControlAccessibleObject
instance = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(control.CreateAccessibilityInstance());
System\Windows\Forms\ProgressBarTests.cs (2)
1772
Control.
ControlAccessibleObject
instance = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(control.CreateAccessibilityInstance());
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObjectTests.cs (2)
46
Control.
ControlAccessibleObject
accessibilityObject = ownerControl.AccessibilityObject as Control.
ControlAccessibleObject
;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewListBoxAccessibleObjectTests.cs (2)
22
ControlAccessibleObject
accessibleObject = (
ControlAccessibleObject
)Activator.CreateInstance(type, gridViewListBox);
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (2)
102
ControlAccessibleObject
accessibleObject = (
ControlAccessibleObject
)Activator.CreateInstance(accessibleObjectType, gridViewTextBox);
System\Windows\Forms\RichTextBoxTests.cs (1)
10600
Mock<Control.
ControlAccessibleObject
> mockAccessibleObject = new(MockBehavior.Strict, mockParent.Object);
System\Windows\Forms\StatusStripTests.cs (2)
864
Control.
ControlAccessibleObject
instance = Assert.IsAssignableFrom<Control.
ControlAccessibleObject
>(control.CreateAccessibilityInstance());
System\Windows\Forms\ToolTipTests.cs (1)
828
Mock<Control.
ControlAccessibleObject
> mockAccessibleObject = new(MockBehavior.Strict, mockTabControl.Object);
TextBoxTests.cs (2)
462
Control.
ControlAccessibleObject
instance = Assert.IsType<TextBox.TextBoxAccessibleObject>(control.CreateAccessibilityInstance());
479
Control.
ControlAccessibleObject
instance = Assert.IsType<TextBox.TextBoxAccessibleObject>(control.CreateAccessibilityInstance());