254 references to AccessibleStates
System.Windows.Forms (216)
winforms\Managed\System\WinForms\AccessibleObject.cs (7)
292
public virtual
AccessibleStates
State {
295
return (
AccessibleStates
) systemIAccessible.get_accState(NativeMethods.CHILDID_SELF);
298
return
AccessibleStates
.None;
403
if (child != null && ((child.State &
AccessibleStates
.Focused) != 0)) {
407
if ((this.State &
AccessibleStates
.Focused) != 0) {
465
if (child != null && ((child.State &
AccessibleStates
.Selected) != 0)) {
469
if ((this.State &
AccessibleStates
.Selected) != 0) {
winforms\Managed\System\WinForms\ButtonBase.cs (3)
1350
public override
AccessibleStates
State {
1352
AccessibleStates
state = base.State;
1356
state |=
AccessibleStates
.Pressed;
winforms\Managed\System\WinForms\CheckBox.cs (3)
763
public override
AccessibleStates
State {
767
return
AccessibleStates
.Checked | base.State;
769
return
AccessibleStates
.Indeterminate | base.State;
winforms\Managed\System\WinForms\CheckedListBox.cs (9)
1717
public override
AccessibleStates
State {
1719
AccessibleStates
state =
AccessibleStates
.Selectable |
AccessibleStates
.Focusable;
1725
state |=
AccessibleStates
.Checked;
1728
state |=
AccessibleStates
.Indeterminate;
1738
state |=
AccessibleStates
.Selected |
AccessibleStates
.Focused;
1742
state |=
AccessibleStates
.Focused;
winforms\Managed\System\WinForms\ComboBox.cs (28)
4696
return (State &
AccessibleStates
.Focusable) ==
AccessibleStates
.Focusable;
4708
return (State &
AccessibleStates
.Offscreen) ==
AccessibleStates
.Offscreen;
4712
return (State &
AccessibleStates
.Selected) != 0;
4789
public override
AccessibleStates
State {
4791
return (
AccessibleStates
)_systemIAccessible.get_accState(GetChildId());
4817
return (State &
AccessibleStates
.Selected) != 0;
5114
return (State &
AccessibleStates
.Focusable) ==
AccessibleStates
.Focusable;
5277
return (State &
AccessibleStates
.Focusable) ==
AccessibleStates
.Focusable;
5380
public override
AccessibleStates
State {
5382
AccessibleStates
state =
AccessibleStates
.Focusable;
5384
state |=
AccessibleStates
.Focused;
5502
return (State &
AccessibleStates
.Focusable) ==
AccessibleStates
.Focusable;
5534
public override
AccessibleStates
State {
5536
AccessibleStates
state =
AccessibleStates
.Focusable;
5538
state |=
AccessibleStates
.Focused;
5664
return (State &
AccessibleStates
.Focusable) ==
AccessibleStates
.Focusable;
5672
return (State &
AccessibleStates
.Offscreen) ==
AccessibleStates
.Offscreen;
5744
public override
AccessibleStates
State {
5747
return (
AccessibleStates
)systemIAccessible.get_accState(COMBOBOX_DROPDOWN_BUTTON_ACC_ITEM_INDEX);
winforms\Managed\System\WinForms\DataGridParentRows.cs (6)
1097
public override
AccessibleStates
State {
1099
AccessibleStates
state =
AccessibleStates
.ReadOnly;
1102
state |=
AccessibleStates
.Invisible;
1105
state |=
AccessibleStates
.Expanded;
1108
state |=
AccessibleStates
.Collapsed;
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (12)
857
public override
AccessibleStates
State {
859
AccessibleStates
state = base.State;
862
state |=
AccessibleStates
.Expanded;
865
state |=
AccessibleStates
.Collapsed;
949
public override
AccessibleStates
State {
954
return
AccessibleStates
.Unavailable;
957
AccessibleStates
state =
AccessibleStates
.Selectable
958
|
AccessibleStates
.Focusable
959
|
AccessibleStates
.Linked;
962
state |=
AccessibleStates
.Invisible;
966
state |=
AccessibleStates
.Focused;
winforms\Managed\System\WinForms\DataGridRow.cs (12)
799
public override
AccessibleStates
State {
801
AccessibleStates
state =
AccessibleStates
.Selectable |
AccessibleStates
.Focusable;
806
state |=
AccessibleStates
.Focused;
812
state |=
AccessibleStates
.Selected;
954
public override
AccessibleStates
State {
956
AccessibleStates
state =
AccessibleStates
.Selectable |
AccessibleStates
.Focusable;
963
state |=
AccessibleStates
.Focused;
965
state |=
AccessibleStates
.Selected;
winforms\Managed\System\WinForms\DataGridViewCell.cs (14)
4896
public override
AccessibleStates
State
4905
AccessibleStates
state =
AccessibleStates
.Selectable |
AccessibleStates
.Focusable;
4908
state |=
AccessibleStates
.Focused;
4913
state |=
AccessibleStates
.Selected;
4918
state |=
AccessibleStates
.ReadOnly;
4941
state |=
AccessibleStates
.Offscreen;
5535
return (State &
AccessibleStates
.Focused) ==
AccessibleStates
.Focused; // Announce the cell when focusing.
5543
return (State &
AccessibleStates
.Focusable) ==
AccessibleStates
.Focusable;
5547
return (State &
AccessibleStates
.Offscreen) ==
AccessibleStates
.Offscreen;
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (4)
1811
public override
AccessibleStates
State
1821
return
AccessibleStates
.Checked | base.State;
1823
return
AccessibleStates
.Indeterminate | base.State;
1831
return
AccessibleStates
.Checked | base.State;
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (12)
1353
public override
AccessibleStates
State
1357
AccessibleStates
resultState =
AccessibleStates
.Selectable;
1360
AccessibleStates
state = base.State;
1361
if ((state &
AccessibleStates
.Offscreen) ==
AccessibleStates
.Offscreen)
1363
resultState |=
AccessibleStates
.Offscreen;
1371
resultState |=
AccessibleStates
.Selected;
1601
return (this.State &
AccessibleStates
.Focusable) ==
AccessibleStates
.Focusable;
1606
return (this.State &
AccessibleStates
.Offscreen) ==
AccessibleStates
.Offscreen;
winforms\Managed\System\WinForms\DataGridViewRow.cs (12)
2077
public override
AccessibleStates
State
2086
AccessibleStates
accState =
AccessibleStates
.Selectable;
2107
accState |=
AccessibleStates
.Selected;
2113
accState |=
AccessibleStates
.Offscreen;
2464
public override
AccessibleStates
State
2468
return
AccessibleStates
.Selected |
AccessibleStates
.Selectable;
2488
if ((this.owner.AccessibilityObject.GetChild(i).State &
AccessibleStates
.Selected) ==
AccessibleStates
.Selected)
2514
if ((this.owner.AccessibilityObject.GetChild(i).State &
AccessibleStates
.Selected) ==
AccessibleStates
.Selected)
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (12)
1292
public override
AccessibleStates
State
1296
AccessibleStates
resultState =
AccessibleStates
.Selectable;
1299
AccessibleStates
state = base.State;
1300
if ((state &
AccessibleStates
.Offscreen) ==
AccessibleStates
.Offscreen)
1302
resultState |=
AccessibleStates
.Offscreen;
1310
resultState |=
AccessibleStates
.Selected;
1509
return (this.State &
AccessibleStates
.Focusable) ==
AccessibleStates
.Focusable;
1514
return (this.State &
AccessibleStates
.Offscreen) ==
AccessibleStates
.Offscreen;
winforms\Managed\System\WinForms\DataGridViewSelectedCellsAccessibleObject.cs (3)
47
public override
AccessibleStates
State
51
return
AccessibleStates
.Selected |
AccessibleStates
.Selectable;
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (8)
542
public override
AccessibleStates
State
546
AccessibleStates
resultState =
AccessibleStates
.Selectable;
549
AccessibleStates
state = base.State;
550
if ((state &
AccessibleStates
.Offscreen) ==
AccessibleStates
.Offscreen)
552
resultState |=
AccessibleStates
.Offscreen;
558
resultState |=
AccessibleStates
.Selected;
winforms\Managed\System\WinForms\DateTimePicker.cs (3)
1796
public override
AccessibleStates
State {
1798
AccessibleStates
state = base.State;
1802
state |=
AccessibleStates
.Checked;
winforms\Managed\System\WinForms\DomainUpDown.cs (5)
843
public override
AccessibleStates
State {
845
return
AccessibleStates
.Invisible |
AccessibleStates
.Offscreen;
921
public override
AccessibleStates
State {
923
return
AccessibleStates
.Selectable;
winforms\Managed\System\WinForms\LinkLabel.cs (4)
2804
public override
AccessibleStates
State {
2806
AccessibleStates
state =
AccessibleStates
.Focusable;
2811
state |=
AccessibleStates
.Focused;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (14)
2876
return (this.State &
AccessibleStates
.Focusable) ==
AccessibleStates
.Focusable;
2886
return (this.State &
AccessibleStates
.Offscreen) ==
AccessibleStates
.Offscreen;
2981
public override
AccessibleStates
State {
2983
AccessibleStates
state =
AccessibleStates
.Selectable |
AccessibleStates
.Focusable;
2988
state |=
AccessibleStates
.Focused;
2996
state |=
AccessibleStates
.Selected;
3003
state |=
AccessibleStates
.Expanded;
3006
state |=
AccessibleStates
.Collapsed;
3013
state |=
AccessibleStates
.ReadOnly;
3019
state |=
AccessibleStates
.Protected;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (10)
6303
return (State &
AccessibleStates
.Focusable) ==
AccessibleStates
.Focusable;
6311
return (State &
AccessibleStates
.Offscreen) ==
AccessibleStates
.Offscreen;
6395
public override
AccessibleStates
State {
6398
return (
AccessibleStates
)systemIAccessible.get_accState(GetChildId());
6941
public override
AccessibleStates
State {
6943
AccessibleStates
states = base.State;
6945
states |=
AccessibleStates
.ReadOnly;
6948
states &= ~
AccessibleStates
.ReadOnly;
winforms\Managed\System\WinForms\RadioButton.cs (2)
684
public override
AccessibleStates
State {
687
return
AccessibleStates
.Checked | base.State;
winforms\Managed\System\WinForms\ToolStrip.cs (4)
5128
public override
AccessibleStates
State {
5130
AccessibleStates
state = base.State;
5131
state |=
AccessibleStates
.Offscreen;
5132
state |=
AccessibleStates
.Invisible;
winforms\Managed\System\WinForms\ToolStripButton.cs (3)
309
public override
AccessibleStates
State {
312
return base.State |
AccessibleStates
.Checked;
318
return base.State |
AccessibleStates
.Focused;
winforms\Managed\System\WinForms\ToolStripComboBox.cs (2)
809
return (this.State &
AccessibleStates
.Offscreen) ==
AccessibleStates
.Offscreen;
winforms\Managed\System\WinForms\ToolStripItem.cs (14)
4054
private
AccessibleStates
additionalState =
AccessibleStates
.None; // Test hook for the designer
4246
public override
AccessibleStates
State {
4257
return
AccessibleStates
.Unavailable | additionalState |
AccessibleStates
.Focused;
4265
return
AccessibleStates
.Focused;
4269
return
AccessibleStates
.Unavailable | additionalState;
4272
AccessibleStates
accState =
AccessibleStates
.Focusable | additionalState;
4280
accState |=
AccessibleStates
.Focused |
AccessibleStates
.HotTracked;
4283
accState |=
AccessibleStates
.Pressed;
4374
public void AddState(
AccessibleStates
state) {
4375
if (state ==
AccessibleStates
.None) {
winforms\Managed\System\WinForms\ToolStripLabel.cs (2)
408
public override
AccessibleStates
State {
410
return base.State |
AccessibleStates
.ReadOnly;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (6)
1246
public override
AccessibleStates
State {
1249
AccessibleStates
state = base.State;
1251
if ((state &
AccessibleStates
.Pressed) ==
AccessibleStates
.Pressed){
1253
state &= ~
AccessibleStates
.Pressed;
1257
state |=
AccessibleStates
.Checked;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (2)
939
return (State &
AccessibleStates
.Focused) ==
AccessibleStates
.Focused;
System.Windows.Forms.DataVisualization (4)
WinForm\Utilities\AccessibleObject.cs (4)
519
public override
AccessibleStates
State
523
AccessibleStates
state =
AccessibleStates
.Selectable;
526
state |=
AccessibleStates
.Selected;
System.Workflow.ComponentModel (34)
AuthoringOM\Design\ActivityDesignerAccessibleObject.cs (10)
128
public override
AccessibleStates
State
132
AccessibleStates
state = (this.activityDesigner.IsSelected) ?
AccessibleStates
.Selected :
AccessibleStates
.Selectable;
133
state |=
AccessibleStates
.MultiSelectable;
134
state |= (this.activityDesigner.IsPrimarySelection) ?
AccessibleStates
.Focused :
AccessibleStates
.Focusable;
137
state |=
AccessibleStates
.ReadOnly;
139
state |=
AccessibleStates
.Moveable;
142
state |=
AccessibleStates
.Invisible;
AuthoringOM\Design\CompositeDesignerAccessibleObject.cs (4)
46
public override
AccessibleStates
State
50
AccessibleStates
state = base.State;
52
state |= (compositeDesigner.Expanded) ?
AccessibleStates
.Expanded :
AccessibleStates
.Collapsed;
AuthoringOM\Design\DesignerWidgets.cs (11)
3064
public override
AccessibleStates
State
3068
AccessibleStates
state =
AccessibleStates
.None;
3076
state = (activityDesigner.IsSelected) ?
AccessibleStates
.Selected :
AccessibleStates
.Selectable;
3077
state |=
AccessibleStates
.MultiSelectable;
3078
state |= (activityDesigner.IsLocked) ?
AccessibleStates
.ReadOnly :
AccessibleStates
.Moveable;
3079
state |= (activityDesigner.IsPrimarySelection) ?
AccessibleStates
.Focused :
AccessibleStates
.Focusable;
3656
public override
AccessibleStates
State
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (9)
163
public override
AccessibleStates
State
167
AccessibleStates
state =
AccessibleStates
.MultiSelectable;
170
state |=
AccessibleStates
.ReadOnly;
173
state |=
AccessibleStates
.Invisible;
178
state |= (selectionService.GetComponentSelected(this.connectorHitInfo.SelectableObject)) ?
AccessibleStates
.Selected :
AccessibleStates
.Selectable;
179
state |= (selectionService.PrimarySelection == this.connectorHitInfo.SelectableObject) ?
AccessibleStates
.Focused :
AccessibleStates
.Focusable;