250 references to AccessibleRole
System.Windows.Forms (218)
winforms\Managed\System\WinForms\AccessibleObject.cs (36)
276
public virtual
AccessibleRole
Role {
279
return (
AccessibleRole
) systemIAccessible.get_accRole(NativeMethods.CHILDID_SELF);
282
return
AccessibleRole
.None;
581
case
AccessibleRole
.MenuItem:
582
case
AccessibleRole
.Link:
583
case
AccessibleRole
.PushButton:
584
case
AccessibleRole
.ButtonDropDown:
585
case
AccessibleRole
.ButtonMenu:
586
case
AccessibleRole
.ButtonDropDownGrid:
587
case
AccessibleRole
.Clock:
588
case
AccessibleRole
.SplitButton:
591
case
AccessibleRole
.Default:
592
case
AccessibleRole
.None:
593
case
AccessibleRole
.Sound:
594
case
AccessibleRole
.Cursor:
595
case
AccessibleRole
.Caret:
596
case
AccessibleRole
.Alert:
597
case
AccessibleRole
.Client:
598
case
AccessibleRole
.Chart:
599
case
AccessibleRole
.Dialog:
600
case
AccessibleRole
.Border:
601
case
AccessibleRole
.Column:
602
case
AccessibleRole
.Row:
603
case
AccessibleRole
.HelpBalloon:
604
case
AccessibleRole
.Character:
605
case
AccessibleRole
.PageTab:
606
case
AccessibleRole
.PropertyPage:
607
case
AccessibleRole
.DropList:
608
case
AccessibleRole
.Dial:
609
case
AccessibleRole
.HotkeyField:
610
case
AccessibleRole
.Diagram:
611
case
AccessibleRole
.Animation:
612
case
AccessibleRole
.Equation:
613
case
AccessibleRole
.WhiteSpace:
614
case
AccessibleRole
.IpAddress:
615
case
AccessibleRole
.OutlineButton:
winforms\Managed\System\WinForms\CheckBox.cs (4)
749
public override
AccessibleRole
Role {
751
AccessibleRole
role = Owner.AccessibleRole;
752
if (role !=
AccessibleRole
.Default) {
755
return
AccessibleRole
.CheckButton;
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
1711
public override
AccessibleRole
Role {
1713
return
AccessibleRole
.CheckButton;
winforms\Managed\System\WinForms\ComboBox.cs (4)
4765
public override
AccessibleRole
Role {
4767
return (
AccessibleRole
)_systemIAccessible.get_accRole(GetChildId());
5715
public override
AccessibleRole
Role {
5718
return (
AccessibleRole
)systemIAccessible.get_accRole(COMBOBOX_DROPDOWN_BUTTON_ACC_ITEM_INDEX);
winforms\Managed\System\WinForms\Control.cs (10)
748
DefaultValue(
AccessibleRole
.Default),
751
public
AccessibleRole
AccessibleRole {
757
return (
AccessibleRole
)role;
760
return
AccessibleRole
.Default;
766
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
AccessibleRole
.Default, (int)
AccessibleRole
.OutlineButton)) {
767
throw new InvalidEnumArgumentException("value", (int)value, typeof(
AccessibleRole
));
19818
public override
AccessibleRole
Role {
19820
AccessibleRole
role = ownerControl.AccessibleRole;
19821
if (role !=
AccessibleRole
.Default) {
winforms\Managed\System\WinForms\DataGrid.cs (4)
9088
public override
AccessibleRole
Role {
9090
AccessibleRole
role = Owner.AccessibleRole;
9091
if (role !=
AccessibleRole
.Default) {
9094
return
AccessibleRole
.Table;
winforms\Managed\System\WinForms\DataGridColumn.cs (2)
1280
public override
AccessibleRole
Role {
1282
return
AccessibleRole
.ColumnHeader;
winforms\Managed\System\WinForms\DataGridParentRows.cs (2)
1091
public override
AccessibleRole
Role {
1093
return
AccessibleRole
.List;
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (2)
943
public override
AccessibleRole
Role {
945
return
AccessibleRole
.Link;
winforms\Managed\System\WinForms\DataGridRow.cs (4)
793
public override
AccessibleRole
Role {
795
return
AccessibleRole
.Row;
948
public override
AccessibleRole
Role {
950
return
AccessibleRole
.Cell;
winforms\Managed\System\WinForms\DataGridState.cs (2)
184
public override
AccessibleRole
Role {
186
return
AccessibleRole
.ListItem;
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (4)
54
public override
AccessibleRole
Role
58
AccessibleRole
role = owner.AccessibleRole;
59
if (role !=
AccessibleRole
.Default)
65
return
AccessibleRole
.Table;
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
4887
public override
AccessibleRole
Role
4891
return
AccessibleRole
.Cell;
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (2)
1344
public override
AccessibleRole
Role
1348
return
AccessibleRole
.ColumnHeader;
winforms\Managed\System\WinForms\DataGridViewRow.cs (4)
2036
public override
AccessibleRole
Role
2040
return
AccessibleRole
.Row;
2456
public override
AccessibleRole
Role
2460
return
AccessibleRole
.Grouping;
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (2)
1283
public override
AccessibleRole
Role
1287
return
AccessibleRole
.RowHeader;
winforms\Managed\System\WinForms\DataGridViewSelectedCellsAccessibleObject.cs (2)
39
public override
AccessibleRole
Role
43
return
AccessibleRole
.Grouping;
winforms\Managed\System\WinForms\DataGridViewTopRowAccessibleObject.cs (2)
98
public override
AccessibleRole
Role
102
return
AccessibleRole
.Row;
winforms\Managed\System\WinForms\DateTimePicker.cs (5)
1810
public override
AccessibleRole
Role {
1812
AccessibleRole
role = Owner.AccessibleRole;
1813
if (role !=
AccessibleRole
.Default) {
1816
return AccessibilityImprovements.Level3 ?
AccessibleRole
.ComboBox :
AccessibleRole
.DropList;
winforms\Managed\System\WinForms\DomainUpDown.cs (9)
762
public override
AccessibleRole
Role {
764
AccessibleRole
role = Owner.AccessibleRole;
765
if (role !=
AccessibleRole
.Default) {
770
return
AccessibleRole
.SpinButton;
773
return
AccessibleRole
.ComboBox;
837
public override
AccessibleRole
Role {
839
return
AccessibleRole
.List;
911
public override
AccessibleRole
Role {
913
return
AccessibleRole
.ListItem;
winforms\Managed\System\WinForms\GroupBox.cs (4)
824
public override
AccessibleRole
Role {
826
AccessibleRole
role = Owner.AccessibleRole;
827
if (role !=
AccessibleRole
.Default) {
830
return
AccessibleRole
.Grouping;
winforms\Managed\System\WinForms\Label.cs (4)
1770
public override
AccessibleRole
Role {
1772
AccessibleRole
role = Owner.AccessibleRole;
1773
if (role !=
AccessibleRole
.Default) {
1776
return
AccessibleRole
.StaticText;
winforms\Managed\System\WinForms\LinkLabel.cs (2)
2798
public override
AccessibleRole
Role {
2800
return
AccessibleRole
.Link;
winforms\Managed\System\WinForms\ListBox.cs (2)
4415
if ((
AccessibleRole
)systemIAccessible.accRole[childId] ==
AccessibleRole
.ListItem) {
winforms\Managed\System\WinForms\MenuStrip.cs (4)
290
public override
AccessibleRole
Role {
292
AccessibleRole
role = Owner.AccessibleRole;
293
if (role !=
AccessibleRole
.Default) {
296
return
AccessibleRole
.MenuBar;
winforms\Managed\System\WinForms\MonthCalendar.cs (4)
2652
public override
AccessibleRole
Role {
2655
AccessibleRole
role = calendar.AccessibleRole;
2656
if (role !=
AccessibleRole
.Default) {
2660
return
AccessibleRole
.Table;
winforms\Managed\System\WinForms\NumericUpDown.cs (5)
918
public override
AccessibleRole
Role {
920
AccessibleRole
role = Owner.AccessibleRole;
921
if (role !=
AccessibleRole
.Default) {
926
return
AccessibleRole
.SpinButton;
929
return
AccessibleRole
.ComboBox;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
603
new public
AccessibleRole
AccessibleRole {
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
221
toolStrip.AccessibleRole =
AccessibleRole
.ToolBar;
2111
button.AccessibleRole =
AccessibleRole
.CheckButton;
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (2)
289
public override
AccessibleRole
Role {
291
return
AccessibleRole
.ButtonDropDownGrid;
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (2)
311
public override
AccessibleRole
Role {
313
return
AccessibleRole
.PushButton;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (5)
2963
public override
AccessibleRole
Role {
2966
return
AccessibleRole
.Cell;
2970
return
AccessibleRole
.ButtonDropDownGrid;
2973
return
AccessibleRole
.Cell;
2977
return
AccessibleRole
.Row;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (6)
6371
public override
AccessibleRole
Role {
6374
return (
AccessibleRole
)systemIAccessible.get_accRole(GetChildId());
7445
public override
AccessibleRole
Role {
7447
AccessibleRole
role = Owner.AccessibleRole;
7448
if (role !=
AccessibleRole
.Default) {
7452
return
AccessibleRole
.Table;
winforms\Managed\System\WinForms\RadioButton.cs (4)
670
public override
AccessibleRole
Role {
672
AccessibleRole
role = Owner.AccessibleRole;
673
if (role !=
AccessibleRole
.Default) {
676
return
AccessibleRole
.RadioButton;
winforms\Managed\System\WinForms\StatusStrip.cs (4)
637
public override
AccessibleRole
Role {
639
AccessibleRole
role = Owner.AccessibleRole;
640
if (role !=
AccessibleRole
.Default) {
643
return
AccessibleRole
.StatusBar;
winforms\Managed\System\WinForms\ToolStrip.cs (4)
5070
public override
AccessibleRole
Role {
5072
AccessibleRole
role = Owner.AccessibleRole;
5073
if (role !=
AccessibleRole
.Default) {
5076
return
AccessibleRole
.ToolBar;
winforms\Managed\System\WinForms\ToolStripButton.cs (2)
298
public override
AccessibleRole
Role {
301
return
AccessibleRole
.CheckButton;
winforms\Managed\System\WinForms\ToolStripComboBox.cs (4)
100
public override
AccessibleRole
Role {
102
AccessibleRole
role = Owner.AccessibleRole;
103
if (role !=
AccessibleRole
.Default) {
107
return
AccessibleRole
.ComboBox;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (4)
2324
public override
AccessibleRole
Role {
2326
AccessibleRole
role = Owner.AccessibleRole;
2327
if (role !=
AccessibleRole
.Default) {
2330
return
AccessibleRole
.MenuPopup;
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (4)
784
public override
AccessibleRole
Role {
786
AccessibleRole
role = Owner.AccessibleRole;
787
if (role !=
AccessibleRole
.Default) {
790
return
AccessibleRole
.MenuItem;
winforms\Managed\System\WinForms\ToolStripGrip.cs (4)
282
public override
AccessibleRole
Role {
284
AccessibleRole
role = Owner.AccessibleRole;
285
if (role !=
AccessibleRole
.Default) {
288
return
AccessibleRole
.Grip;
winforms\Managed\System\WinForms\ToolStripItem.cs (11)
304
DefaultValue(
AccessibleRole
.Default),
307
public
AccessibleRole
AccessibleRole {
313
return (
AccessibleRole
)role;
316
return
AccessibleRole
.Default;
322
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
AccessibleRole
.Default, (int)
AccessibleRole
.OutlineButton)){
323
throw new InvalidEnumArgumentException("value", (int)value, typeof(
AccessibleRole
));
4233
public override
AccessibleRole
Role {
4235
AccessibleRole
role = ownerItem.AccessibleRole;
4236
if (role !=
AccessibleRole
.Default) {
4240
return
AccessibleRole
.PushButton;
winforms\Managed\System\WinForms\ToolStripLabel.cs (5)
398
public override
AccessibleRole
Role {
400
AccessibleRole
role = Owner.AccessibleRole;
401
if (role !=
AccessibleRole
.Default) {
404
return (ownerItem.IsLink) ?
AccessibleRole
.Link :
AccessibleRole
.StaticText;
winforms\Managed\System\WinForms\ToolStripProgressBar.cs (4)
498
public override
AccessibleRole
Role {
500
AccessibleRole
role = Owner.AccessibleRole;
501
if (role !=
AccessibleRole
.Default) {
505
return
AccessibleRole
.ProgressBar;
winforms\Managed\System\WinForms\ToolStripSeparator.cs (4)
486
public override
AccessibleRole
Role {
488
AccessibleRole
role = ownerItem.AccessibleRole;
489
if (role !=
AccessibleRole
.Default) {
493
return
AccessibleRole
.Separator;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (4)
134
public override
AccessibleRole
Role {
136
AccessibleRole
role = Owner.AccessibleRole;
137
if (role !=
AccessibleRole
.Default) {
141
return
AccessibleRole
.Text;
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (4)
53
this.pictureBoxPublisher.AccessibleRole =
AccessibleRole
.Graphic;
59
this.pictureBoxMachineAccess.AccessibleRole =
AccessibleRole
.Graphic;
65
this.pictureBoxInstallation.AccessibleRole =
AccessibleRole
.Graphic;
71
this.pictureBoxLocation.AccessibleRole =
AccessibleRole
.Graphic;
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (3)
102
this.pictureBoxQuestion.AccessibleRole =
AccessibleRole
.Graphic;
121
this.pictureBoxWarning.AccessibleRole =
AccessibleRole
.Graphic;
128
this.lineLabel.AccessibleRole =
AccessibleRole
.Separator;
winforms\Managed\System\WinForms\UpDownBase.cs (6)
1841
public override
AccessibleRole
Role {
1843
AccessibleRole
role = Owner.AccessibleRole;
1844
if (role !=
AccessibleRole
.Default) {
1847
return
AccessibleRole
.SpinButton;
1941
public override
AccessibleRole
Role {
1943
return
AccessibleRole
.PushButton;
System.Windows.Forms.DataVisualization (20)
WinForm\Utilities\AccessibleObject.cs (20)
83
public override
AccessibleRole
Role
87
return
AccessibleRole
.Chart;
160
AccessibleRole
.StaticText));
188
AccessibleRole
.StaticText));
199
AccessibleRole
.Graphic));
380
internal
AccessibleRole
role =
AccessibleRole
.StaticText;
415
AccessibleRole
role)
445
AccessibleRole
role,
508
public override
AccessibleRole
Role
599
AccessibleRole
.StaticText)
610
AccessibleRole
.StaticText));
672
AccessibleRole
.Graphic)
709
AccessibleRole
.Graphic));
720
AccessibleRole
.StaticText));
733
AccessibleRole
.Graphic));
745
AccessibleRole
.Graphic));
802
AccessibleRole
.Graphic)
815
AccessibleRole
.Graphic,
828
AccessibleRole
.Text,
System.Workflow.ComponentModel (12)
AuthoringOM\Design\ActivityDesignerAccessibleObject.cs (2)
120
public override
AccessibleRole
Role
124
return
AccessibleRole
.Diagram;
AuthoringOM\Design\Connector.cs (2)
787
public override
AccessibleRole
Role
791
return
AccessibleRole
.Diagram;
AuthoringOM\Design\DesignerWidgets.cs (4)
3056
public override
AccessibleRole
Role
3060
return
AccessibleRole
.Diagram;
3648
public override
AccessibleRole
Role
3652
return
AccessibleRole
.Diagram;
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (2)
155
public override
AccessibleRole
Role
159
return
AccessibleRole
.Diagram;
AuthoringOM\Design\WorkflowView.cs (2)
2303
public override
AccessibleRole
Role
2307
return
AccessibleRole
.Diagram;