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)
37
return new ControlDesigner.
ControlDesignerAccessibleObject
(_designer, control);
91
var accessibleObject = new ControlDesigner.
ControlDesignerAccessibleObject
(_designer, control);
102
var accessibleObject = new ControlDesigner.
ControlDesignerAccessibleObject
(_designer, control);
13 references to ControlDesignerAccessibleObject
System.Windows.Forms.Design.Tests (13)
System\Windows\Forms\Design\ControlDesignerAccessibleObjectTests.cs (13)
30
private ControlDesigner.
ControlDesignerAccessibleObject
CreateAccessibleObject(Action<Mock<AccessibleObject>>? configureMock = null)
44
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.Bounds).Returns(expectedBounds));
52
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.Description).Returns(expectedDescription));
61
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.Value).Returns(expectedValue));
68
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.Role).Returns(AccessibleRole.PushButton));
76
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.Parent).Returns(mockParent.Object));
91
var
accessibleObject = new ControlDesigner.ControlDesignerAccessibleObject(_designer, control);
102
var
accessibleObject = new ControlDesigner.ControlDesignerAccessibleObject(_designer, control);
116
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.GetChild(It.IsAny<int>())).Returns(mockChild.Object));
125
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.GetChildCount()).Returns(expectedChildCount));
132
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.State).Returns(AccessibleStates.Focused));
139
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.State).Returns(AccessibleStates.Selected));
147
var
accessibleObject = CreateAccessibleObject(mock => mock.Setup(a => a.HitTest(It.IsAny<int>(), It.IsAny<int>())).Returns(mockAccessibleObject.Object));