35 writes to AccessibleRole
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
1730button.AccessibleRole = AccessibleRole.RadioButton;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
490menuItem.AccessibleRole = AccessibleRole;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1372AccessibleRole = AccessibleRole.Text, 1434_addItemButton.AccessibleRole = AccessibleRole.ButtonDropDown;
System.Windows.Forms.Tests (30)
System\Windows\Forms\AccessibleObjects\ToolStripButton.ToolStripButtonAccessibleObjectTests.cs (2)
88toolStripButton.AccessibleRole = role; 149AccessibleRole = AccessibleRole.CheckButton
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxControlAccessibleObjectTests.cs (1)
60toolStripComboBox.AccessibleRole = role;
System\Windows\Forms\AccessibleObjects\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObjectTests.cs (1)
63toolStripDropDownButton.AccessibleRole = role;
System\Windows\Forms\AccessibleObjects\ToolStripDropDownItemAccessibleObjectTests.cs (2)
30control.AccessibleRole = AccessibleRole.Default; 41control.AccessibleRole = testRole;
System\Windows\Forms\AccessibleObjects\ToolStripGrip.ToolStripGripAccessibleObjectTests.cs (1)
62toolStripGrip.AccessibleRole = role;
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (3)
20AccessibleRole = AccessibleRole.MenuBar 54item.AccessibleRole = AccessibleRole.Link; 161toolStripItem.AccessibleRole = role;
System\Windows\Forms\AccessibleObjects\ToolStripLabel.ToolStripLabelAccessibleObjectTests.cs (1)
69toolStripLabel.AccessibleRole = role;
System\Windows\Forms\AccessibleObjects\ToolStripMenuItem.ToolStripMenuItemAccessibleObjectTests.cs (1)
109toolStripMenuItem.AccessibleRole = role;
System\Windows\Forms\AccessibleObjects\ToolStripNumericUpDown.ToolStripNumericUpDownAccessibleObjectTests.cs (1)
73toolStripNumericUpDown.AccessibleRole = role;
System\Windows\Forms\AccessibleObjects\ToolStripOverflowButton.ToolStripOverflowButtonAccessibleObjectTests.cs (1)
70AccessibleRole = role
System\Windows\Forms\AccessibleObjects\ToolStripSeparator.ToolStripSeparatorAccessibleObjectTests.cs (1)
62toolStripSeparator.AccessibleRole = role;
System\Windows\Forms\AccessibleObjects\ToolStripSplitButton.ToolStripSplitButtonAccessibleObjectTests.cs (1)
62toolStripSplitButton.AccessibleRole = role;
System\Windows\Forms\AccessibleObjects\ToolStripStatusLabel.ToolStripStatusLabelAccessibleObjectTests.cs (1)
68toolStripStatusLabel.AccessibleRole = role;
System\Windows\Forms\AccessibleObjects\ToolStripTextBox.ToolStripTextBoxAccessibleObjectTests.cs (1)
41AccessibleRole = AccessibleRole.Link
System\Windows\Forms\AccessibleObjects\ToolStripTextBox.ToolStripTextBoxControlAccessibleObjectTests.cs (1)
129toolStripTextBox.AccessibleRole = role;
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (1)
79toolStripItem.AccessibleRole = role;
System\Windows\Forms\ToolStripButtonTests.cs (1)
1015AccessibleRole = AccessibleRole.HelpBalloon
System\Windows\Forms\ToolStripControlHostTests.cs (4)
230AccessibleRole = value 237item.AccessibleRole = value; 249Assert.Throws<InvalidEnumArgumentException>("value", () => item.AccessibleRole = value); 2534AccessibleRole = AccessibleRole.HelpBalloon
System\Windows\Forms\ToolStripItemTests.cs (3)
359AccessibleRole = value 364item.AccessibleRole = value; 373Assert.Throws<InvalidEnumArgumentException>("value", () => item.AccessibleRole = value);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
270AccessibleRole = AccessibleRole.MenuItem,
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
735AccessibleRole = AccessibleRole.HelpBalloon
WinFormsControlsTest (1)
ToolStripTests.Designer.cs (1)
203this.toolStrip2_Button6.AccessibleRole = AccessibleRole.CheckButton;
35 references to AccessibleRole
System.Windows.Forms (11)
System\Windows\Forms\Accessibility\AccessibleRoles.cs (1)
11/// <see cref="ToolStripItem.AccessibleRole"/> to ensure the new member is valid.
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.ToolStripButtonAccessibleObject.cs (1)
34AccessibleRole role = _ownerItem.AccessibleRole;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
615ControlInternal.AccessibleRole = AccessibleRole;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObject.cs (1)
31_owningToolStripDropDownButton.AccessibleRole == AccessibleRole.Default
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (1)
23AccessibleRole role = Owner.AccessibleRole;
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.ToolStripGripAccessibleObject.cs (1)
26AccessibleRole role = Owner.AccessibleRole;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
150AccessibleRole role = _ownerItem.AccessibleRole;
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.ToolStripLabelAccessibleObject.cs (1)
35AccessibleRole role = Owner.AccessibleRole;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
490menuItem.AccessibleRole = AccessibleRole;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.ToolStripSeparatorAccessibleObject.cs (1)
24AccessibleRole role = _ownerItem.AccessibleRole;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.ToolStripSplitButtonExAccessibleObject.cs (1)
28_owningToolStripSplitButton.AccessibleRole == AccessibleRole.Default
System.Windows.Forms.Tests (24)
System\Windows\Forms\PropertyGridTests.cs (2)
3881Assert.Equal(AccessibleRole.RadioButton, categoryButton.AccessibleRole); 3882Assert.Equal(AccessibleRole.RadioButton, alphaButton.AccessibleRole);
System\Windows\Forms\ToolStripButtonTests.cs (6)
23Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 104Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 191Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 281Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 370Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 468Assert.Equal(AccessibleRole.Default, item.AccessibleRole);
System\Windows\Forms\ToolStripControlHostTests.cs (3)
53Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 232Assert.Equal(value, item.AccessibleRole); 238Assert.Equal(value, item.AccessibleRole);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
22Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 112Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 211Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 311Assert.Equal(AccessibleRole.Default, item.AccessibleRole);
System\Windows\Forms\ToolStripItemTests.cs (5)
25Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 111Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 206Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 361Assert.Equal(value, item.AccessibleRole); 365Assert.Equal(value, item.AccessibleRole);
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
23Assert.Equal(AccessibleRole.Default, item.AccessibleRole); 315clone.AccessibleRole.Should().Be(original.AccessibleRole);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
23Assert.Equal(AccessibleRole.Default, item.AccessibleRole);