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)
513=> (VARIANT)(int)AccessibleRoleControlTypeMap.GetControlType(Role),
System.Windows.Forms.Tests (37)
System\Windows\Forms\AccessibleObjects\Button.ButtonAccessibleObjectTests.cs (2)
48Assert.Equal(accessibleRole, buttonAccessibleObject.Role); 63Assert.Equal(AccessibleRole.Link, buttonAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\ButtonBase.ButtonBaseAccessibleObjectTests.cs (3)
93Assert.Equal(expectedAccessibleRole, instance.Role); 109Assert.Equal(AccessibleRole.Client, instance.Role); 125Assert.Equal(AccessibleRole.None, instance.Role);
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (1)
28Assert.Equal(expectedAccessibleRole, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (3)
79Assert.Equal(AccessibleRole.None, accessibleObject.Role); 114Assert.Equal(AccessibleRole.Client, accessibleObject.Role); 841Assert.Equal(accessibleRole, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\GroupBoxAccessibleObjectTests.cs (1)
56Assert.Equal(AccessibleRole.Link, groupBoxAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\LabelAccessibleObjectTests.cs (1)
57Assert.Equal(AccessibleRole.Link, labelAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\PictureBox.PictureBoxAccessibleObjectTests.cs (2)
71Assert.Equal(AccessibleRole.PushButton, pictureBoxAccessibleObject.Role); 88Assert.Equal(accessibleRole, pictureBoxAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\ProgressBarAccessibleObjectTests.cs (2)
32Assert.Equal(AccessibleRole.ProgressBar, accessibilityObject.Role); 57Assert.Equal(AccessibleRole.None, accessibilityObject.Role);
System\Windows\Forms\AccessibleObjects\Splitter.SplitterAccessibleObjectTests.cs (2)
71Assert.Equal(AccessibleRole.PushButton, splitterAccessibleObject.Role); 89Assert.Equal(accessibleRole, splitterAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (2)
35Assert.Equal(AccessibleRole.Slider, accessibilityObject.Role); 58Assert.Equal(AccessibleRole.Slider, accessibilityObject.Role);
System\Windows\Forms\ButtonTests.cs (5)
1011Assert.Equal(AccessibleRole.None, instance.Role); 1032Assert.Equal(AccessibleRole.PushButton, instance.Role); 1066Assert.Equal(expectedRole, instance.Role); 1088Assert.Equal(AccessibleRole.HelpBalloon, instance.Role); 1109Assert.Equal(AccessibleRole.HelpBalloon, instance.Role);
System\Windows\Forms\ControlTests.Methods.cs (1)
409Assert.Equal(expectedAccessibleRole, instance.Role);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
990Assert.Equal(expectedAccessibleRole, instance.Role); 1005Assert.Equal(AccessibleRole.HelpBalloon, instance.Role);
System\Windows\Forms\DomainUpDownTests.cs (2)
942instance.Role.Should().Be(AccessibleRole.SpinButton); 955instance.Role.Should().Be(AccessibleRole.HelpBalloon);
System\Windows\Forms\GroupBoxTests.cs (2)
1387Assert.Equal(AccessibleRole.Grouping, instance.Role); 1402Assert.Equal(AccessibleRole.HelpBalloon, instance.Role);
System\Windows\Forms\ListBoxTests.cs (1)
4765Assert.Equal(accessibleRole, instance.Role);
System\Windows\Forms\MonthCalendarTests.cs (1)
2297Assert.Equal(AccessibleRole.Table, instance.Role);
System\Windows\Forms\ProgressBarTests.cs (1)
1776Assert.Equal(expectedAccessibleRole, instance.Role);
System\Windows\Forms\StatusStripTests.cs (1)
869Assert.Equal(AccessibleRole.StatusBar, instance.Role);
TextBoxTests.cs (2)
466Assert.Equal(expectedAccessibleRole, instance.Role); 482Assert.Equal(AccessibleRole.HelpBalloon, instance.Role);