1 instantiation of ElementProxy
PresentationCore (1)
MS\Internal\Automation\ElementProxy.cs (1)
282result = new ElementProxy(peer);
17 references to ElementProxy
PresentationCore (17)
MS\Internal\Automation\ElementProxy.cs (9)
119return (ProviderOptions)ElementUtil.Invoke(peer, state => ((ElementProxy)state).InContextGetProviderOptions(), this); 170return (int []) ElementUtil.Invoke( peer, state => ((ElementProxy)state).InContextGetRuntimeId(), this); 182return (Rect)ElementUtil.Invoke(peer, state => ((ElementProxy)state).InContextBoundingRectangle(), this); 198ElementUtil.Invoke(peer, state => ((ElementProxy)state).InContextSetFocus(), this); 210return (IRawElementProviderFragmentRoot) ElementUtil.Invoke( peer, state => ((ElementProxy)state).InContextFragmentRoot(), this); 232return (IRawElementProviderFragment) ElementUtil.Invoke( peer, state => ((ElementProxy)state).InContextGetFocus(), this); 261internal static ElementProxy StaticWrap(AutomationPeer peer, AutomationPeer referencePeer) 263ElementProxy result = null; 278result = peer.ElementProxyWeakReference.Target as ElementProxy;
MS\Internal\Automation\TextProviderWrapper.cs (1)
64if (!(childElement is ElementProxy))
System\Windows\Automation\Peers\AutomationPeer.cs (6)
1820return ElementProxy.StaticWrap(peer, referencePeer); 1826return ElementProxy.StaticWrap(peer, referencePeer); 1865ElementProxy proxy = provider as ElementProxy; 2253if(value.Target as ElementProxy != null) 2490private static object GetLabeledBy(AutomationPeer peer) { AutomationPeer byPeer = peer.GetLabeledBy(); return ElementProxy.StaticWrap(byPeer, peer); }
System\Windows\InterOp\HwndTarget.cs (1)
1471IRawElementProviderSimple el = ElementProxy.StaticWrap(peer, peer);