4 instantiations of ControlDesignerAccessibleObject
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.cs (1)
131
=> accessibilityObj ??= new
ControlDesignerAccessibleObject
(this, Control);
System.Windows.Forms.Design.Tests (3)
System\Windows\Forms\Design\ControlDesignerAccessibleObjectTests.cs (3)
39
return new ControlDesigner.
ControlDesignerAccessibleObject
(_designer, control);
93
var accessibleObject = new ControlDesigner.
ControlDesignerAccessibleObject
(_designer, control);
104
var accessibleObject = new ControlDesigner.
ControlDesignerAccessibleObject
(_designer, control);
13 references to ControlDesignerAccessibleObject
System.Windows.Forms.Design.Tests (13)
System\Windows\Forms\Design\ControlDesignerAccessibleObjectTests.cs (13)
32
private ControlDesigner.
ControlDesignerAccessibleObject
CreateAccessibleObject(Action<Mock<AccessibleObject>>? configureMock = null)
46
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.Bounds).Returns(expectedBounds));
54
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.Description).Returns(expectedDescription));
63
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.Value).Returns(expectedValue));
70
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.Role).Returns(AccessibleRole.PushButton));
78
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.Parent).Returns(mockParent.Object));
93
var
accessibleObject = new ControlDesigner.ControlDesignerAccessibleObject(_designer, control);
104
var
accessibleObject = new ControlDesigner.ControlDesignerAccessibleObject(_designer, control);
118
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.GetChild(It.IsAny<int>())).Returns(mockChild.Object));
127
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.GetChildCount()).Returns(expectedChildCount));
134
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.State).Returns(AccessibleStates.Focused));
141
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.State).Returns(AccessibleStates.Selected));
149
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.HitTest(It.IsAny<int>(), It.IsAny<int>())).Returns(mockAccessibleObject.Object));