Exemple #1
0
        public void TestProperties()
        {
            var control = new ControlTests();

            // test properties default values
            Assert.AreEqual(Thickness.UniformCuboid(0), control.Padding);
        }
Exemple #2
0
        public void TestProperties()
        {
            var control = new ControlTests();

            // test properties default values
            Assert.AreEqual(Thickness.UniformCuboid(0), control.Padding);
        }
Exemple #3
0
        public static void Main()
        {
            var uiElementTest = new UIElementLayeringTests();
            uiElementTest.TestAll();

            var panelTest = new PanelTests();
            panelTest.TestAll();

            var controlTest = new ControlTests();
            controlTest.TestAll();

            var stackPanelTest = new StackPanelTests();
            stackPanelTest.TestAll();

            var canvasTest = new CanvasTests();
            canvasTest.TestAll();

            var contentControlTest = new ContentControlTest();
            contentControlTest.TestAll();

            var eventManagerTest = new EventManagerTests();
            eventManagerTest.TestAll();

            var routedEventArgTest = new RoutedEventArgsTest();
            routedEventArgTest.TestAll();

            var uiElementEventTest = new UIElementEventTests();
            uiElementEventTest.TestAll();

            var gridTest = new GridTests();
            gridTest.TestAll();
        }