Base:
property
Role
System.Windows.Forms.AccessibleObject.Role
15 overrides of Role
System.Windows.Forms (15)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
50
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.Table);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (1)
72
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.ComboBox);
System\Windows\Forms\Controls\GroupBox\GroupBox.GroupBoxAccessibleObject.cs (1)
17
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.Grouping);
System\Windows\Forms\Controls\Labels\Label.LabelAccessibleObject.cs (1)
14
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.StaticText);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (1)
536
public override AccessibleRole
Role
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAccessibleObject.cs (1)
79
public override AccessibleRole
Role
=> AccessibleRole.PushButton;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (1)
100
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.Table);
System\Windows\Forms\Controls\TabControl\TabControl.TabControlAccessibleObject.cs (1)
33
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.PageTabList);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (1)
378
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.ToolBar);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelAccessibleObject.cs (1)
17
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.Client);
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarAccessibleObject.cs (1)
45
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.Slider);
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainUpDownAccessibleObject.cs (1)
25
public override AccessibleRole
Role
=> _upDownBaseAccessibleObject.Role;
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownBaseAccessibleObject.cs (1)
34
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.SpinButton);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.cs (1)
99
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.SpinButton);
System\Windows\Forms\Form.AccessibleObject.cs (1)
45
public override AccessibleRole
Role
=> this.GetOwnerAccessibleRole(AccessibleRole.Client);
38 references to Role
System.Windows.Forms (1)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
514
=> (VARIANT)(int)AccessibleRoleControlTypeMap.GetControlType(
Role
),
System.Windows.Forms.Tests (37)
System\Windows\Forms\AccessibleObjects\Button.ButtonAccessibleObjectTests.cs (2)
46
Assert.Equal(accessibleRole, buttonAccessibleObject.
Role
);
61
Assert.Equal(AccessibleRole.Link, buttonAccessibleObject.
Role
);
System\Windows\Forms\AccessibleObjects\ButtonBase.ButtonBaseAccessibleObjectTests.cs (3)
91
Assert.Equal(expectedAccessibleRole, instance.
Role
);
107
Assert.Equal(AccessibleRole.Client, instance.
Role
);
123
Assert.Equal(AccessibleRole.None, instance.
Role
);
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (1)
26
Assert.Equal(expectedAccessibleRole, accessibleObject.
Role
);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (3)
66
Assert.Equal(AccessibleRole.None, accessibleObject.
Role
);
101
Assert.Equal(AccessibleRole.Client, accessibleObject.
Role
);
828
Assert.Equal(accessibleRole, accessibleObject.
Role
);
System\Windows\Forms\AccessibleObjects\GroupBoxAccessibleObjectTests.cs (1)
54
Assert.Equal(AccessibleRole.Link, groupBoxAccessibleObject.
Role
);
System\Windows\Forms\AccessibleObjects\LabelAccessibleObjectTests.cs (1)
55
Assert.Equal(AccessibleRole.Link, labelAccessibleObject.
Role
);
System\Windows\Forms\AccessibleObjects\PictureBox.PictureBoxAccessibleObjectTests.cs (2)
69
Assert.Equal(AccessibleRole.PushButton, pictureBoxAccessibleObject.
Role
);
86
Assert.Equal(accessibleRole, pictureBoxAccessibleObject.
Role
);
System\Windows\Forms\AccessibleObjects\ProgressBarAccessibleObjectTests.cs (2)
30
Assert.Equal(AccessibleRole.ProgressBar, accessibilityObject.
Role
);
55
Assert.Equal(AccessibleRole.None, accessibilityObject.
Role
);
System\Windows\Forms\AccessibleObjects\Splitter.SplitterAccessibleObjectTests.cs (2)
69
Assert.Equal(AccessibleRole.PushButton, splitterAccessibleObject.
Role
);
87
Assert.Equal(accessibleRole, splitterAccessibleObject.
Role
);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (2)
33
Assert.Equal(AccessibleRole.Slider, accessibilityObject.
Role
);
56
Assert.Equal(AccessibleRole.Slider, accessibilityObject.
Role
);
System\Windows\Forms\ButtonTests.cs (5)
1009
Assert.Equal(AccessibleRole.None, instance.
Role
);
1030
Assert.Equal(AccessibleRole.PushButton, instance.
Role
);
1064
Assert.Equal(expectedRole, instance.
Role
);
1086
Assert.Equal(AccessibleRole.HelpBalloon, instance.
Role
);
1107
Assert.Equal(AccessibleRole.HelpBalloon, instance.
Role
);
System\Windows\Forms\ControlTests.Methods.cs (1)
408
Assert.Equal(expectedAccessibleRole, instance.
Role
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
988
Assert.Equal(expectedAccessibleRole, instance.
Role
);
1003
Assert.Equal(AccessibleRole.HelpBalloon, instance.
Role
);
System\Windows\Forms\DomainUpDownTests.cs (2)
940
instance.
Role
.Should().Be(AccessibleRole.SpinButton);
953
instance.
Role
.Should().Be(AccessibleRole.HelpBalloon);
System\Windows\Forms\GroupBoxTests.cs (2)
1385
Assert.Equal(AccessibleRole.Grouping, instance.
Role
);
1400
Assert.Equal(AccessibleRole.HelpBalloon, instance.
Role
);
System\Windows\Forms\ListBoxTests.cs (1)
4763
Assert.Equal(accessibleRole, instance.
Role
);
System\Windows\Forms\MonthCalendarTests.cs (1)
2295
Assert.Equal(AccessibleRole.Table, instance.
Role
);
System\Windows\Forms\ProgressBarTests.cs (1)
1774
Assert.Equal(expectedAccessibleRole, instance.
Role
);
System\Windows\Forms\StatusStripTests.cs (1)
867
Assert.Equal(AccessibleRole.StatusBar, instance.
Role
);
TextBoxTests.cs (2)
464
Assert.Equal(expectedAccessibleRole, instance.
Role
);
480
Assert.Equal(AccessibleRole.HelpBalloon, instance.
Role
);