Base:
property
Role
System.Windows.Forms.Control.ControlAccessibleObject.Role
3 overrides of Role
System.Windows.Forms (3)
System\Windows\Forms\Controls\Menus\MenuStrip.MenuStripAccessibleObject.cs (1)
18
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.MenuBar);
System\Windows\Forms\Controls\ToolStrips\StatusStrip.StatusStripAccessibleObject.cs (1)
16
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.StatusBar);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.ToolStripDropDownAccessibleObject.cs (1)
59
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.MenuPopup);
5 references to Role
System.Windows.Forms.Tests (5)
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
19
Assert.Equal(AccessibleRole.ToolBar, accessibleObject.
Role
);
System\Windows\Forms\MenuStripTests.cs (2)
416
Assert.Equal(AccessibleRole.MenuBar, instance.
Role
);
431
Assert.Equal(AccessibleRole.HelpBalloon, instance.
Role
);
System\Windows\Forms\ToolStripTests.cs (2)
4211
Assert.Equal(AccessibleRole.ToolBar, instance.
Role
);
4226
Assert.Equal(AccessibleRole.HelpBalloon, instance.
Role
);