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