1 instantiation of ElementProxy
PresentationCore (1)
MS\Internal\Automation\ElementProxy.cs (1)
268result = new ElementProxy(peer);
17 references to ElementProxy
PresentationCore (17)
MS\Internal\Automation\ElementProxy.cs (9)
105return (ProviderOptions)ElementUtil.Invoke(peer, state => ((ElementProxy)state).InContextGetProviderOptions(), this); 156return (int []) ElementUtil.Invoke( peer, state => ((ElementProxy)state).InContextGetRuntimeId(), this); 168return (Rect)ElementUtil.Invoke(peer, state => ((ElementProxy)state).InContextBoundingRectangle(), this); 184ElementUtil.Invoke(peer, state => ((ElementProxy)state).InContextSetFocus(), this); 196return (IRawElementProviderFragmentRoot) ElementUtil.Invoke( peer, state => ((ElementProxy)state).InContextFragmentRoot(), this); 218return (IRawElementProviderFragment) ElementUtil.Invoke( peer, state => ((ElementProxy)state).InContextGetFocus(), this); 247internal static ElementProxy StaticWrap(AutomationPeer peer, AutomationPeer referencePeer) 249ElementProxy result = null; 264result = peer.ElementProxyWeakReference.Target as ElementProxy;
MS\Internal\Automation\TextProviderWrapper.cs (1)
55if (!(childElement is ElementProxy))
System\Windows\Automation\Peers\AutomationPeer.cs (6)
1805return ElementProxy.StaticWrap(peer, referencePeer); 1811return ElementProxy.StaticWrap(peer, referencePeer); 1850ElementProxy proxy = provider as ElementProxy; 2237if(value.Target as ElementProxy != null) 2474private static object GetLabeledBy(AutomationPeer peer) { AutomationPeer byPeer = peer.GetLabeledBy(); return ElementProxy.StaticWrap(byPeer, peer); }
System\Windows\InterOp\HwndTarget.cs (1)
1458IRawElementProviderSimple el = ElementProxy.StaticWrap(peer, peer);