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