Base:
property
State
System.Windows.Forms.AccessibleObject.State
3 overrides of State
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (1)
19
public override AccessibleStates
State
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (1)
72
public override AccessibleStates
State
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (1)
84
public override AccessibleStates
State
12 references to State
System.Windows.Forms (11)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (2)
689
UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => (VARIANT)
State
.HasFlag(AccessibleStates.Focused), // Announce the cell when focusing.
691
UIA_PROPERTY_ID.UIA_IsKeyboardFocusablePropertyId => (VARIANT)
State
.HasFlag(AccessibleStates.Focusable),
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (7)
30
return base.
State
;
37
CheckState.Checked => AccessibleStates.Checked | base.
State
,
38
CheckState.Indeterminate => AccessibleStates.Indeterminate | base.
State
,
39
_ => base.
State
41
bool stateAsBool => stateAsBool ? AccessibleStates.Checked | base.
State
: base.
State
,
42
_ => base.
State
,
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (1)
84
AccessibleStates state = base.
State
;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (1)
96
AccessibleStates state = base.
State
;
System.Windows.Forms.Tests (1)
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (1)
348
Assert.Equal(AccessibleStates.Focusable | AccessibleStates.Selectable, accessibleObject.
State
);