コード例 #1
0
        protected override bool IsControlElementCore()
        {
            AutomationPeer wrapperPeer = this.GetWrapperPeer();

            if (wrapperPeer != null)
            {
                return(wrapperPeer.IsControlElement());
            }

            return(true);
        }