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