Beispiel #1
0
        public override void GetAutomationControlType()
        {
            FrameworkElementAutomationPeerContract feap
                = FrameworkElementAutomationPeer.CreatePeerForElement(CreateConcreteFrameworkElement()) as FrameworkElementAutomationPeerContract;

            Assert.AreEqual(AutomationControlType.List, feap.GetAutomationControlType(), "GetAutomationControlType");
            Assert.AreEqual(AutomationControlType.List, feap.GetAutomationControlTypeCore_(), "GetAutomationControlTypeCore");
        }