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