20 references to Role
UIAutomationClientSideProviders (20)
MS\Internal\AutomationProxies\Accessible.cs (2)
472
AccessibleRole role =
Role
;
1079
if (
Role
!= GetRole(acc, idChild))
MS\Internal\AutomationProxies\MSAANativeProvider.cs (4)
188
AccessibleRole role = acc.
Role
;
999
AccessibleRole role = _acc.
Role
;
1033
if (_acc.
Role
== AccessibleRole.Window)
1115
_isRoot = Accessible.Compare(_acc, KnownRoot._acc) || _acc.
Role
== AccessibleRole.Window ? RootStatus.Root : RootStatus.NotRoot;
MS\Internal\AutomationProxies\WindowsButton.cs (3)
407
if (accParent.
Role
== AccessibleRole.Grouping)
690
acc.
Role
== AccessibleRole.RadioButton)
730
acc.
Role
== AccessibleRole.RadioButton &&
MS\Internal\AutomationProxies\WindowsFormsHelpers.cs (2)
40
switch (acc.
Role
)
86
switch (acc.
Role
)
MS\Internal\AutomationProxies\WindowsRebar.cs (1)
529
if ((accWind != null) && (accWind.
Role
== AccessibleRole.Window))
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
103
if (accChild != null && accChild.
Role
!= AccessibleRole.PushButton)
MS\Internal\AutomationProxies\WindowsToolbar.cs (3)
64
AccessibleRole role = acc.
Role
;
242
AccessibleRole role = acc.
Role
;
311
if (acc.
Role
== AccessibleRole.MenuItem)
MS\Internal\AutomationProxies\WindowsToolbarAsMenu.cs (1)
35
AccessibleRole role = acc.
Role
;
MS\Internal\AutomationProxies\WindowsToolbarItemAsMenuItem.cs (1)
35
AccessibleRole role = acc.
Role
;
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
315
return hr == NativeMethods.S_OK && acc != null ? acc.
Role
== AccessibleRole.SpinButton : false;
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
188
if ((acc.
Role
!= AccessibleRole.SpinButton) || (acc.ChildCount != 2))