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