20 references to Role
UIAutomationClientsideProviders (20)
MS\Internal\AutomationProxies\Accessible.cs (2)
479
AccessibleRole role =
Role
;
1102
if (
Role
!= GetRole(acc, idChild))
MS\Internal\AutomationProxies\MSAANativeProvider.cs (4)
196
AccessibleRole role = acc.
Role
;
1026
AccessibleRole role = _acc.
Role
;
1060
if (_acc.
Role
== AccessibleRole.Window)
1142
_isRoot = Accessible.Compare(_acc, KnownRoot._acc) || _acc.
Role
== AccessibleRole.Window ? RootStatus.Root : RootStatus.NotRoot;
MS\Internal\AutomationProxies\WindowsButton.cs (3)
418
if (accParent.
Role
== AccessibleRole.Grouping)
701
acc.
Role
== AccessibleRole.RadioButton)
741
acc.
Role
== AccessibleRole.RadioButton &&
MS\Internal\AutomationProxies\WindowsFormsHelpers.cs (2)
46
switch (acc.
Role
)
92
switch (acc.
Role
)
MS\Internal\AutomationProxies\WindowsRebar.cs (1)
545
if ((accWind != null) && (accWind.
Role
== AccessibleRole.Window))
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
114
if (accChild != null && accChild.
Role
!= AccessibleRole.PushButton)
MS\Internal\AutomationProxies\WindowsToolbar.cs (3)
71
AccessibleRole role = acc.
Role
;
249
AccessibleRole role = acc.
Role
;
318
if (acc.
Role
== AccessibleRole.MenuItem)
MS\Internal\AutomationProxies\WindowsToolbarAsMenu.cs (1)
41
AccessibleRole role = acc.
Role
;
MS\Internal\AutomationProxies\WindowsToolbarItemAsMenuItem.cs (1)
41
AccessibleRole role = acc.
Role
;
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
328
return hr == NativeMethods.S_OK && acc != null ? acc.
Role
== AccessibleRole.SpinButton : false;
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
196
if ((acc.
Role
!= AccessibleRole.SpinButton) || (acc.ChildCount != 2))