30 references to AccessibleState
UIAutomationClientsideProviders (30)
MS\Internal\AutomationProxies\Accessible.cs (18)
303
internal bool IsPassword { get { return HasState(
AccessibleState
.Protected); } }
304
internal bool IsSelected { get { return HasState(
AccessibleState
.Selected); } }
305
internal bool IsMultiSelectable { get { return HasState(
AccessibleState
.Multiselectable); } }
306
internal bool IsIndeterminate { get { return HasState(
AccessibleState
.Mixed); } }
307
internal bool IsChecked { get { return HasState(
AccessibleState
.Checked); } }
308
internal bool IsReadOnly { get { return HasState(
AccessibleState
.ReadOnly); } }
309
internal bool IsEnabled { get { return ! HasState(
AccessibleState
.Unavailable); } }
310
internal bool IsFocused { get { return HasState(
AccessibleState
.Focused); } }
311
internal bool IsOffScreen { get { return HasState(
AccessibleState
.Offscreen); } }
436
AccessibleState
state = State;
449
if (Accessible.HasState(state,
AccessibleState
.Invisible) && !Accessible.HasState(state,
AccessibleState
.Offscreen))
495
internal
AccessibleState
State
501
return (
AccessibleState
)_acc.get_accState(_idChild);
514
return
AccessibleState
.Unavailable;
720
internal bool HasState(
AccessibleState
testState)
725
internal static bool HasState(
AccessibleState
state,
AccessibleState
testState)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (5)
685
AccessibleState
state = _acc.State;
687
(state &
AccessibleState
.Checked) ==
AccessibleState
.Checked :
688
(state &
AccessibleState
.Selected) ==
AccessibleState
.Selected;
MS\Internal\AutomationProxies\WindowsButton.cs (5)
186
if (!wtv._acc.HasState(
AccessibleState
.Checked))
644
AccessibleState
state = _acc.State;
645
if (Accessible.HasState(state,
AccessibleState
.Checked))
649
else if (Accessible.HasState(state,
AccessibleState
.Mixed))
742
acc.HasState(
AccessibleState
.Checked))
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
1413
state = Misc.IsBitSet((int)stateMSAA, (int)
AccessibleState
.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked;
1461
state = Misc.IsBitSet((int)stateMSAA, (int)
AccessibleState
.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked;