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