1 instantiation of ElementProxy
PresentationCore (1)
MS\Internal\Automation\ElementProxy.cs (1)
267result = new ElementProxy(peer);
17 references to ElementProxy
PresentationCore (17)
MS\Internal\Automation\ElementProxy.cs (9)
104return (ProviderOptions)ElementUtil.Invoke(peer, state => ((ElementProxy)state).InContextGetProviderOptions(), this); 155return (int []) ElementUtil.Invoke( peer, state => ((ElementProxy)state).InContextGetRuntimeId(), this); 167return (Rect)ElementUtil.Invoke(peer, state => ((ElementProxy)state).InContextBoundingRectangle(), this); 183ElementUtil.Invoke(peer, state => ((ElementProxy)state).InContextSetFocus(), this); 195return (IRawElementProviderFragmentRoot) ElementUtil.Invoke( peer, state => ((ElementProxy)state).InContextFragmentRoot(), this); 217return (IRawElementProviderFragment) ElementUtil.Invoke( peer, state => ((ElementProxy)state).InContextGetFocus(), this); 246internal static ElementProxy StaticWrap(AutomationPeer peer, AutomationPeer referencePeer) 248ElementProxy result = null; 263result = peer.ElementProxyWeakReference.Target as ElementProxy;
MS\Internal\Automation\TextProviderWrapper.cs (1)
54if (!(childElement is ElementProxy))
System\Windows\Automation\Peers\AutomationPeer.cs (6)
1806return ElementProxy.StaticWrap(peer, referencePeer); 1812return ElementProxy.StaticWrap(peer, referencePeer); 1851ElementProxy proxy = provider as ElementProxy; 2234if(value.Target as ElementProxy != null) 2471private static object GetLabeledBy(AutomationPeer peer) { AutomationPeer byPeer = peer.GetLabeledBy(); return ElementProxy.StaticWrap(byPeer, peer); }
System\Windows\InterOp\HwndTarget.cs (1)
1452IRawElementProviderSimple el = ElementProxy.StaticWrap(peer, peer);