30 references to AccessibleState
UIAutomationClientSideProviders (30)
MS\Internal\AutomationProxies\Accessible.cs (18)
293
internal bool IsPassword { get { return HasState(
AccessibleState
.Protected); } }
294
internal bool IsSelected { get { return HasState(
AccessibleState
.Selected); } }
295
internal bool IsMultiSelectable { get { return HasState(
AccessibleState
.Multiselectable); } }
296
internal bool IsIndeterminate { get { return HasState(
AccessibleState
.Mixed); } }
297
internal bool IsChecked { get { return HasState(
AccessibleState
.Checked); } }
298
internal bool IsReadOnly { get { return HasState(
AccessibleState
.ReadOnly); } }
299
internal bool IsEnabled { get { return ! HasState(
AccessibleState
.Unavailable); } }
300
internal bool IsFocused { get { return HasState(
AccessibleState
.Focused); } }
301
internal bool IsOffScreen { get { return HasState(
AccessibleState
.Offscreen); } }
426
AccessibleState
state = State;
439
if (Accessible.HasState(state,
AccessibleState
.Invisible) && !Accessible.HasState(state,
AccessibleState
.Offscreen))
485
internal
AccessibleState
State
491
return (
AccessibleState
)_acc.get_accState(_idChild);
504
return
AccessibleState
.Unavailable;
708
internal bool HasState(
AccessibleState
testState)
713
internal static bool HasState(
AccessibleState
state,
AccessibleState
testState)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (5)
663
AccessibleState
state = _acc.State;
665
(state &
AccessibleState
.Checked) ==
AccessibleState
.Checked :
666
(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)
1402
state = Misc.IsBitSet((int)stateMSAA, (int)
AccessibleState
.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked;
1450
state = Misc.IsBitSet((int)stateMSAA, (int)
AccessibleState
.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked;