Exemplo n.º 1
0
            public void SetUnsetStyleFromResource(bool useCompiledXaml)
            {
                var layout = new Issue2659(useCompiledXaml);

                layout.EnumerateButtons(AssertStyleUnApplied);

                ((IButtonController)layout.button0).SendClicked();
                layout.EnumerateButtons(AssertStyleApplied);

                ((IButtonController)layout.button1).SendClicked();
                layout.EnumerateButtons(AssertStyleUnApplied);
            }
Exemplo n.º 2
0
            public void SetUnsetLocalProperties(bool useCompiledXaml)
            {
                var layout = new Issue2659(useCompiledXaml);

                layout.EnumerateButtons(AssertPropertiesUnApplied);

                ((IButtonController)layout.button2).SendClicked();
                layout.EnumerateButtons(AssertPropertiesApplied);

                ((IButtonController)layout.button3).SendClicked();
                layout.EnumerateButtons(AssertPropertiesUnApplied);
            }