コード例 #1
0
ファイル: ItemsControlTest.cs プロジェクト: ynkbt/moon
        public override void IsItemItsOwnContainerTest()
        {
            IPoker ic = CurrentControl;

            base.IsItemItsOwnContainerTest();
            Assert.IsTrue(ic.IsItemItsOwnContainerOverride_(ic), "self");
            Assert.IsTrue(ic.IsItemItsOwnContainerOverride_(new Slider()), "Slider");
            Assert.IsTrue(ic.IsItemItsOwnContainerOverride_(new Border()), "Border");
            Assert.IsTrue(ic.IsItemItsOwnContainerOverride_(new Grid()), "Grid");
            Assert.IsTrue(ic.IsItemItsOwnContainerOverride_(new ContentPresenter()), "ContentPresenter");
            Assert.IsTrue(ic.IsItemItsOwnContainerOverride_(new ContentControl()), "ContentControl");
        }