11 references to HasState
UIAutomationClientsideProviders (11)
MS\Internal\AutomationProxies\Accessible.cs (9)
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); } }
MS\Internal\AutomationProxies\WindowsButton.cs (2)
186
if (!wtv._acc.
HasState
(AccessibleState.Checked))
742
acc.
HasState
(AccessibleState.Checked))