11 references to HasState
UIAutomationClientSideProviders (11)
MS\Internal\AutomationProxies\Accessible.cs (9)
289
internal bool IsPassword { get { return
HasState
(AccessibleState.Protected); } }
290
internal bool IsSelected { get { return
HasState
(AccessibleState.Selected); } }
291
internal bool IsMultiSelectable { get { return
HasState
(AccessibleState.Multiselectable); } }
292
internal bool IsIndeterminate { get { return
HasState
(AccessibleState.Mixed); } }
293
internal bool IsChecked { get { return
HasState
(AccessibleState.Checked); } }
294
internal bool IsReadOnly { get { return
HasState
(AccessibleState.ReadOnly); } }
295
internal bool IsEnabled { get { return !
HasState
(AccessibleState.Unavailable); } }
296
internal bool IsFocused { get { return
HasState
(AccessibleState.Focused); } }
297
internal bool IsOffScreen { get { return
HasState
(AccessibleState.Offscreen); } }
MS\Internal\AutomationProxies\WindowsButton.cs (2)
170
if (!wtv._acc.
HasState
(AccessibleState.Checked))
726
acc.
HasState
(AccessibleState.Checked))