6 instantiations of ButtonBaseAccessibleObject
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
771
protected override AccessibleObject CreateAccessibilityInstance() => new
ButtonBaseAccessibleObject
(this);
System.Windows.Forms.Tests (5)
System\Windows\Forms\AccessibleObjects\ButtonBase.ButtonBaseAccessibleObjectTests.cs (5)
14
Assert.Throws<ArgumentException>(() => new ButtonBase.
ButtonBaseAccessibleObject
(null));
21
Assert.Throws<ArgumentException>(() => new ButtonBase.
ButtonBaseAccessibleObject
(textBox));
60
var buttonBaseAccessibleObject = new ButtonBase.
ButtonBaseAccessibleObject
(button);
149
var buttonBaseAccessibleObject = new ButtonBase.
ButtonBaseAccessibleObject
(control);
177
var buttonBaseAccessibleObject = new ButtonBase.
ButtonBaseAccessibleObject
(control);
25 references to ButtonBaseAccessibleObject
System.Windows.Forms (2)
System\Windows\Forms\Controls\Buttons\RadioButton.RadioButtonAccessibleObject.cs (1)
54
?
ButtonBaseAccessibleObject
.GetKeyboardShortcut(owner, owner.UseMnemonic, PreviousLabel)
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (1)
122
?
ButtonBaseAccessibleObject
.GetKeyboardShortcut(owner, useMnemonic: false, PreviousLabel)
System.Windows.Forms.Tests (23)
System\Windows\Forms\AccessibleObjects\ButtonBase.ButtonBaseAccessibleObjectTests.cs (9)
60
var
buttonBaseAccessibleObject = new ButtonBase.ButtonBaseAccessibleObject(button);
87
ButtonBase.
ButtonBaseAccessibleObject
instance = Assert.IsType<ButtonBase.
ButtonBaseAccessibleObject
>(control.CreateAccessibilityInstance());
106
ButtonBase.
ButtonBaseAccessibleObject
instance = Assert.IsType<ButtonBase.
ButtonBaseAccessibleObject
>(control.CreateAccessibilityInstance());
122
ButtonBase.
ButtonBaseAccessibleObject
instance = Assert.IsType<ButtonBase.
ButtonBaseAccessibleObject
>(control.CreateAccessibilityInstance());
149
var
buttonBaseAccessibleObject = new ButtonBase.ButtonBaseAccessibleObject(control);
177
var
buttonBaseAccessibleObject = new ButtonBase.ButtonBaseAccessibleObject(control);
System\Windows\Forms\ButtonTests.cs (14)
1005
Button.
ButtonBaseAccessibleObject
instance = Assert.IsAssignableFrom<Button.
ButtonBaseAccessibleObject
>(control.CreateAccessibilityInstance());
1026
Button.
ButtonBaseAccessibleObject
instance = Assert.IsAssignableFrom<Button.
ButtonBaseAccessibleObject
>(control.CreateAccessibilityInstance());
1060
Button.
ButtonBaseAccessibleObject
instance = Assert.IsAssignableFrom<Button.
ButtonBaseAccessibleObject
>(control.CreateAccessibilityInstance());
1082
Button.
ButtonBaseAccessibleObject
instance = Assert.IsAssignableFrom<Button.
ButtonBaseAccessibleObject
>(control.CreateAccessibilityInstance());
1103
Button.
ButtonBaseAccessibleObject
instance = Assert.IsAssignableFrom<Button.
ButtonBaseAccessibleObject
>(control.CreateAccessibilityInstance());
1130
Button.
ButtonBaseAccessibleObject
instance = Assert.IsAssignableFrom<Button.
ButtonBaseAccessibleObject
>(control.CreateAccessibilityInstance());
1152
Button.
ButtonBaseAccessibleObject
instance = Assert.IsAssignableFrom<Button.
ButtonBaseAccessibleObject
>(control.CreateAccessibilityInstance());