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)
12protected 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)
15internal 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)
15internal 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)
16internal 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)
11public 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)
12internal 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)
290private class ControlAccessibleObjectWithNotificationCounter : Control.ControlAccessibleObject
System\Windows\Forms\AccessibleObjects\LabelAccessibleObjectTests.cs (1)
195private class ControlAccessibleObjectWithNotificationCounter : Control.ControlAccessibleObject
System\Windows\Forms\ComboBoxTests.cs (1)
2779private class AutomationEventCountingComboBoxAccessibleObject : Control.ControlAccessibleObject
57 instantiations of ControlAccessibleObject
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (2)
452ncAccessibleObject = new ControlAccessibleObject(this, (int)OBJECT_IDENTIFIER.OBJID_WINDOW); 4429return new ControlAccessibleObject(this);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
3124protected 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)
51var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 83var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 109Assert.Throws<ArgumentNullException>("ownerControl", () => new Control.ControlAccessibleObject(null)); 154var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 169var controlAccessibleObject = new Control.ControlAccessibleObject(ownerControl); 191var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 203var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 222var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 256var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 273var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 334var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 349var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 364var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 434var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 459var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 483var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 534var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 550var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 566var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 675var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 701var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 726var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 735var accessibleObject = new Control.ControlAccessibleObject(ownerControl) 827var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 837var accessibleObject = new Control.ControlAccessibleObject(ownerControl) 854var accessibleObject = new Control.ControlAccessibleObject(ownerControl) 870var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 878var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 888var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 899var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 907var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 942var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 981var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 992var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1001var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1010var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1021var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1032var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1040var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1048var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1058var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1077var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1095var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1103var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1125var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1144var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1154var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1165var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1174var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1193var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1205var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1227var accessibleObject = new Control.ControlAccessibleObject(control);
System\Windows\Forms\ControlTests.Properties.cs (1)
82var 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)
276/// <see cref="Control.ControlAccessibleObject"/>. <see cref="Control.ControlAccessibleObject"/> always
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (2)
231/// The value of the <see cref="Handle"/> property for the <see cref="ControlAccessibleObject"/> is equal to 557=> $"{nameof(ControlAccessibleObject)}: Owner = {Owner?.ToString() ?? "null"}";
System\Windows\Forms\Control.cs (4)
7246if (Properties.TryGetValue(s_accessibilityProperty, out ControlAccessibleObject? clientAccessibleObject)) 7253if (Properties.TryGetValue(s_ncAccessibilityProperty, out ControlAccessibleObject? nonClientAccessibleObject)) 7393if (Properties.TryGetValue(s_accessibilityProperty, out ControlAccessibleObject? accObj)) 7400if (Properties.TryGetValue(s_ncAccessibilityProperty, out ControlAccessibleObject? nonClientAccessibleObject))
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
985if (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)
51var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 83var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 118Assert.IsType<Control.ControlAccessibleObject>(accessibleObject); 120Control.ControlAccessibleObject controlAccessibleObject = (Control.ControlAccessibleObject)accessibleObject; 138Assert.IsType<Control.ControlAccessibleObject>(accessibleObject); 140Control.ControlAccessibleObject controlAccessibleObject = (Control.ControlAccessibleObject)accessibleObject; 154var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 169var controlAccessibleObject = new Control.ControlAccessibleObject(ownerControl); 191var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 203var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 222var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 256var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 273var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 334var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 349var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 364var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 434var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 459var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 483var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 534var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 550var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 566var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 675var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 701var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 726var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 735var accessibleObject = new Control.ControlAccessibleObject(ownerControl) 827var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 837var accessibleObject = new Control.ControlAccessibleObject(ownerControl) 854var accessibleObject = new Control.ControlAccessibleObject(ownerControl) 870var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 878var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 888var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 899var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 907var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 942var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 981var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 992var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1001var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1010var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1021var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1032var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1040var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1048var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1058var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1077var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1095var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1103var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1125var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1144var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1154var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1165var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1174var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1193var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1205var accessibleObject = new Control.ControlAccessibleObject(ownerControl); 1227var accessibleObject = new Control.ControlAccessibleObject(control); 1414Assert.True(control.AccessibilityObject is Control.ControlAccessibleObject); 1443Assert.True(control.AccessibilityObject is Control.ControlAccessibleObject); 1460Assert.True(control.AccessibilityObject is Control.ControlAccessibleObject); 1476Assert.True(control.AccessibilityObject is Control.ControlAccessibleObject); 1512Assert.True(control.AccessibilityObject is Control.ControlAccessibleObject); 1550Assert.True(control.AccessibilityObject is Control.ControlAccessibleObject); 1586Assert.True(control.AccessibilityObject is Control.ControlAccessibleObject); 1610Control.ControlAccessibleObject accessibleObject = CreateAndDisposeControl(); 1615static Control.ControlAccessibleObject CreateAndDisposeControl() 1618var accessibleObject = (Control.ControlAccessibleObject)control.AccessibilityObject; 1630Control.ControlAccessibleObject accessibleObject = CreateAndDisposeControl(type); 1635static Control.ControlAccessibleObject CreateAndDisposeControl(Type type) 1638var accessibleObject = (Control.ControlAccessibleObject)control.AccessibilityObject;
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (2)
454Control.ControlAccessibleObject accessibleObject = (Control.ControlAccessibleObject)dataGridView.AccessibilityObject;
System\Windows\Forms\AccessibleObjects\DataGridViewComboBoxEditingControlAccessibleObjectTests.cs (1)
115Assert.True(control.AccessibilityObject is Control.ControlAccessibleObject);
System\Windows\Forms\AccessibleObjects\DataGridViewTextBoxEditingControl.DataGridViewTextBoxEditingControlAccessibleObjectTests.cs (1)
139Assert.True(control.AccessibilityObject is Control.ControlAccessibleObject);
System\Windows\Forms\AccessibleObjects\ProgressBarAccessibleObjectTests.cs (8)
22Control.ControlAccessibleObject accessibilityObject = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(ownerControl.AccessibilityObject); 47Control.ControlAccessibleObject accessibilityObject = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(ownerControl.AccessibilityObject); 85Control.ControlAccessibleObject accessibilityObject = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(ownerControl.AccessibilityObject); 104Control.ControlAccessibleObject accessibilityObject = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(ownerControl.AccessibilityObject);
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (14)
240ControlAccessibleObject accessibleObject = (ControlAccessibleObject)propertyGrid.GridViewAccessibleObject; 281ControlAccessibleObject accessibleObject = (ControlAccessibleObject)propertyGrid.GridViewAccessibleObject; 290ControlAccessibleObject accessibleObject = (ControlAccessibleObject)propertyGrid.GridViewAccessibleObject; 298ControlAccessibleObject accessibleObject = (ControlAccessibleObject)propertyGrid.GridViewAccessibleObject; 308Control.ControlAccessibleObject gridViewAccessibleObject = (Control.ControlAccessibleObject)propertyGrid.GridViewAccessibleObject; 320Control.ControlAccessibleObject gridViewAccessibleObject = (Control.ControlAccessibleObject)propertyGrid.GridViewAccessibleObject; 331Control.ControlAccessibleObject gridViewAccessibleObject = (Control.ControlAccessibleObject)propertyGrid.GridViewAccessibleObject;
System\Windows\Forms\AccessibleObjects\ToolStripTextBox.ToolStripTextBoxControlAccessibleObjectTests.cs (2)
19ControlAccessibleObject accessibleObject = (ControlAccessibleObject)Activator.CreateInstance(type, textBox);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (10)
23Control.ControlAccessibleObject accessibilityObject = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(ownerControl.AccessibilityObject); 48Control.ControlAccessibleObject accessibilityObject = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(ownerControl.AccessibilityObject); 86Control.ControlAccessibleObject accessibilityObject = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(ownerControl.AccessibilityObject); 114Control.ControlAccessibleObject accessibilityObject = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(ownerControl.AccessibilityObject); 132Control.ControlAccessibleObject accessibilityObject = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(ownerControl.AccessibilityObject);
System\Windows\Forms\ControlTests.Methods.cs (2)
405Control.ControlAccessibleObject instance = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(control.CreateAccessibilityInstance());
System\Windows\Forms\ControlTests.Properties.cs (5)
28Control.ControlAccessibleObject accessibleObject = Assert.IsType<Control.ControlAccessibleObject>(control.AccessibilityObject); 46Control.ControlAccessibleObject accessibleObject = Assert.IsType<Control.ControlAccessibleObject>(control.AccessibilityObject); 82var controlAccessibleObject = new Control.ControlAccessibleObject(control1);
System\Windows\Forms\DataGridViewCellTests.cs (1)
4750Assert.True(dataGridView.AccessibilityObject is Control.ControlAccessibleObject);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (4)
984Control.ControlAccessibleObject instance = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(control.CreateAccessibilityInstance()); 1000Control.ControlAccessibleObject instance = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(control.CreateAccessibilityInstance());
System\Windows\Forms\GroupBoxTests.cs (4)
1382Control.ControlAccessibleObject instance = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(control.CreateAccessibilityInstance()); 1397Control.ControlAccessibleObject instance = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(control.CreateAccessibilityInstance());
System\Windows\Forms\ListBoxTests.cs (2)
4760Control.ControlAccessibleObject instance = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(control.CreateAccessibilityInstance());
System\Windows\Forms\MonthCalendarTests.cs (2)
2292Control.ControlAccessibleObject instance = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(control.CreateAccessibilityInstance());
System\Windows\Forms\ProgressBarTests.cs (2)
1770Control.ControlAccessibleObject instance = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(control.CreateAccessibilityInstance());
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObjectTests.cs (2)
44Control.ControlAccessibleObject accessibilityObject = ownerControl.AccessibilityObject as Control.ControlAccessibleObject;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewListBoxAccessibleObjectTests.cs (2)
20ControlAccessibleObject accessibleObject = (ControlAccessibleObject)Activator.CreateInstance(type, gridViewListBox);
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (2)
100ControlAccessibleObject accessibleObject = (ControlAccessibleObject)Activator.CreateInstance(accessibleObjectType, gridViewTextBox);
System\Windows\Forms\RichTextBoxTests.cs (1)
10598Mock<Control.ControlAccessibleObject> mockAccessibleObject = new(MockBehavior.Strict, mockParent.Object);
System\Windows\Forms\StatusStripTests.cs (2)
862Control.ControlAccessibleObject instance = Assert.IsAssignableFrom<Control.ControlAccessibleObject>(control.CreateAccessibilityInstance());
System\Windows\Forms\ToolTipTests.cs (1)
826Mock<Control.ControlAccessibleObject> mockAccessibleObject = new(MockBehavior.Strict, mockTabControl.Object);
TextBoxTests.cs (2)
460Control.ControlAccessibleObject instance = Assert.IsType<TextBox.TextBoxAccessibleObject>(control.CreateAccessibilityInstance()); 477Control.ControlAccessibleObject instance = Assert.IsType<TextBox.TextBoxAccessibleObject>(control.CreateAccessibilityInstance());