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