20 references to Role
UIAutomationClientSideProviders (20)
MS\Internal\AutomationProxies\Accessible.cs (2)
469
AccessibleRole role =
Role
;
1076
if (
Role
!= GetRole(acc, idChild))
MS\Internal\AutomationProxies\MSAANativeProvider.cs (4)
186
AccessibleRole role = acc.
Role
;
997
AccessibleRole role = _acc.
Role
;
1031
if (_acc.
Role
== AccessibleRole.Window)
1113
_isRoot = Accessible.Compare(_acc, KnownRoot._acc) || _acc.
Role
== AccessibleRole.Window ? RootStatus.Root : RootStatus.NotRoot;
MS\Internal\AutomationProxies\WindowsButton.cs (3)
402
if (accParent.
Role
== AccessibleRole.Grouping)
685
acc.
Role
== AccessibleRole.RadioButton)
725
acc.
Role
== AccessibleRole.RadioButton &&
MS\Internal\AutomationProxies\WindowsFormsHelpers.cs (2)
36
switch (acc.
Role
)
82
switch (acc.
Role
)
MS\Internal\AutomationProxies\WindowsRebar.cs (1)
526
if ((accWind != null) && (accWind.
Role
== AccessibleRole.Window))
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
100
if (accChild != null && accChild.
Role
!= AccessibleRole.PushButton)
MS\Internal\AutomationProxies\WindowsToolbar.cs (3)
61
AccessibleRole role = acc.
Role
;
239
AccessibleRole role = acc.
Role
;
308
if (acc.
Role
== AccessibleRole.MenuItem)
MS\Internal\AutomationProxies\WindowsToolbarAsMenu.cs (1)
34
AccessibleRole role = acc.
Role
;
MS\Internal\AutomationProxies\WindowsToolbarItemAsMenuItem.cs (1)
35
AccessibleRole role = acc.
Role
;
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
311
return hr == NativeMethods.S_OK && acc != null ? acc.
Role
== AccessibleRole.SpinButton : false;
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
186
if ((acc.
Role
!= AccessibleRole.SpinButton) || (acc.ChildCount != 2))