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