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