30 references to AccessibleState
UIAutomationClientSideProviders (30)
MS\Internal\AutomationProxies\Accessible.cs (18)
289
internal bool IsPassword { get { return HasState(
AccessibleState
.Protected); } }
290
internal bool IsSelected { get { return HasState(
AccessibleState
.Selected); } }
291
internal bool IsMultiSelectable { get { return HasState(
AccessibleState
.Multiselectable); } }
292
internal bool IsIndeterminate { get { return HasState(
AccessibleState
.Mixed); } }
293
internal bool IsChecked { get { return HasState(
AccessibleState
.Checked); } }
294
internal bool IsReadOnly { get { return HasState(
AccessibleState
.ReadOnly); } }
295
internal bool IsEnabled { get { return ! HasState(
AccessibleState
.Unavailable); } }
296
internal bool IsFocused { get { return HasState(
AccessibleState
.Focused); } }
297
internal bool IsOffScreen { get { return HasState(
AccessibleState
.Offscreen); } }
419
AccessibleState
state = State;
432
if (Accessible.HasState(state,
AccessibleState
.Invisible) && !Accessible.HasState(state,
AccessibleState
.Offscreen))
478
internal
AccessibleState
State
484
return (
AccessibleState
)_acc.get_accState(_idChild);
494
return
AccessibleState
.Unavailable;
691
internal bool HasState(
AccessibleState
testState)
696
internal static bool HasState(
AccessibleState
state,
AccessibleState
testState)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (5)
660
AccessibleState
state = _acc.State;
662
(state &
AccessibleState
.Checked) ==
AccessibleState
.Checked :
663
(state &
AccessibleState
.Selected) ==
AccessibleState
.Selected;
MS\Internal\AutomationProxies\WindowsButton.cs (5)
170
if (!wtv._acc.HasState(
AccessibleState
.Checked))
628
AccessibleState
state = _acc.State;
629
if (Accessible.HasState(state,
AccessibleState
.Checked))
633
else if (Accessible.HasState(state,
AccessibleState
.Mixed))
726
acc.HasState(
AccessibleState
.Checked))
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
1399
state = Misc.IsBitSet((int)stateMSAA, (int)
AccessibleState
.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked;
1447
state = Misc.IsBitSet((int)stateMSAA, (int)
AccessibleState
.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked;