Base:
property
Role
System.Windows.Forms.AccessibleObject.Role
5 overrides of Role
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.ToolStripButtonAccessibleObject.cs (1)
30
public override AccessibleRole
Role
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.ToolStripControlHostAccessibleObject.cs (1)
55
public override AccessibleRole
Role
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (1)
19
public override AccessibleRole
Role
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.ToolStripLabelAccessibleObject.cs (1)
31
public override AccessibleRole
Role
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.ToolStripSeparatorAccessibleObject.cs (1)
20
public override AccessibleRole
Role
15 references to Role
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.ToolStripButtonAccessibleObject.cs (1)
45
return base.
Role
;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
109
UIA_PROPERTY_ID.UIA_ControlTypePropertyId => (VARIANT)(int)AccessibleRoleControlTypeMap.GetControlType(
Role
),
System.Windows.Forms.Tests (13)
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripControlHostAccessibleObjectTests.cs (1)
50
Assert.Equal(testRole, accessibleObject.
Role
);
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (1)
32
Assert.Equal(AccessibleRole.MenuBar, accessibleObject.
Role
);
System\Windows\Forms\ToolStripButtonTests.cs (5)
1004
Assert.Equal(AccessibleRole.PushButton, accessibleObject.
Role
);
1018
Assert.Equal(AccessibleRole.HelpBalloon, accessibleObject.
Role
);
1032
Assert.Equal(AccessibleRole.CheckButton, accessibleObject.
Role
);
1051
Assert.Equal(AccessibleRole.CheckButton, accessibleObject.
Role
);
1070
Assert.Equal(AccessibleRole.PushButton, accessibleObject.
Role
);
System\Windows\Forms\ToolStripControlHostTests.cs (3)
2521
Assert.Equal(expectedAccessibleRole, accessibleObject.
Role
);
2539
Assert.Equal(AccessibleRole.Alert, accessibleObject.
Role
);
2554
Assert.Equal(AccessibleRole.Default, accessibleObject.
Role
);
System\Windows\Forms\ToolStripItemTests.cs (1)
9838
Assert.Equal(AccessibleRole.PushButton, accessibleObject.
Role
);
System\Windows\Forms\ToolStripSeparatorTests.cs (2)
725
Assert.Equal(AccessibleRole.Separator, accessibleObject.
Role
);
738
Assert.Equal(AccessibleRole.HelpBalloon, accessibleObject.
Role
);