Пример #1
0
        /// 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());
        }