11 references to HasState
UIAutomationClientSideProviders (11)
MS\Internal\AutomationProxies\Accessible.cs (9)
296
internal bool IsPassword { get { return
HasState
(AccessibleState.Protected); } }
297
internal bool IsSelected { get { return
HasState
(AccessibleState.Selected); } }
298
internal bool IsMultiSelectable { get { return
HasState
(AccessibleState.Multiselectable); } }
299
internal bool IsIndeterminate { get { return
HasState
(AccessibleState.Mixed); } }
300
internal bool IsChecked { get { return
HasState
(AccessibleState.Checked); } }
301
internal bool IsReadOnly { get { return
HasState
(AccessibleState.ReadOnly); } }
302
internal bool IsEnabled { get { return !
HasState
(AccessibleState.Unavailable); } }
303
internal bool IsFocused { get { return
HasState
(AccessibleState.Focused); } }
304
internal bool IsOffScreen { get { return
HasState
(AccessibleState.Offscreen); } }
MS\Internal\AutomationProxies\WindowsButton.cs (2)
175
if (!wtv._acc.
HasState
(AccessibleState.Checked))
731
acc.
HasState
(AccessibleState.Checked))