コード例 #1
0
ファイル: ElementProxy.cs プロジェクト: dox0/DotNet471RS3
        /// Returns whether this is the Root of the WCP tree or not
        private object InContextGetHostRawElementProvider(object unused)
        {
            AutomationPeer peer = Peer;

            if (peer == null)
            {
                return(null);
            }
            return(peer.GetHostRawElementProvider());
        }