17 references to RootStatus
UIAutomationClientSideProviders (17)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (17)
53protected MsaaNativeProvider(Accessible acc, IntPtr hwnd, MsaaNativeProvider parent, MsaaNativeProvider knownRoot, RootStatus isRoot) 79private static MsaaNativeProvider Wrap(Accessible acc, IntPtr hwnd, MsaaNativeProvider parent, MsaaNativeProvider knownRoot, RootStatus isRoot) 124return Wrap(acc, _hwnd, null /*unknown parent*/, _knownRoot, RootStatus.Unknown); 195provider = Wrap(acc, hwnd, null/*no parent*/, null/*root is self*/, RootStatus.Root); 202provider = Wrap(acc, hwnd, null/*parent unknown*/, null/*root unknown*/, RootStatus.Unknown); 581rawEPS[i] = Wrap(accessibles[i], _hwnd, this/*parent*/, _knownRoot, RootStatus.NotRoot); 748rval = Wrap(siblingAcc, _hwnd, _parent, _knownRoot, RootStatus.NotRoot); 774rval = Wrap(siblingAcc, _hwnd, _parent, _knownRoot, RootStatus.NotRoot); 797rval = Wrap(childAcc, _hwnd, this, _knownRoot, RootStatus.NotRoot); 819rval = Wrap(childAcc, _hwnd, this, _knownRoot, RootStatus.NotRoot); 1104if (_isRoot == RootStatus.Unknown) 1113_isRoot = Accessible.Compare(_acc, KnownRoot._acc) || _acc.Role == AccessibleRole.Window ? RootStatus.Root : RootStatus.NotRoot; 1131return _isRoot == RootStatus.Root; 1148_parent = Wrap(GetParent(), _hwnd, null/*grandparent unknown*/, _knownRoot, RootStatus.Unknown); 1176MsaaNativeProvider child = Wrap(childAcc, _hwnd, this, _knownRoot, RootStatus.NotRoot); 1341private RootStatus _isRoot;