示例#1
0
            public void CanUseBindableObjectDefinedInOtherAssembly(bool useCompiledXaml)
            {
                var layout = new Issue3076(useCompiledXaml);

                Assert.That(layout.controls, Is.TypeOf <Controls.Issue3076Button> ());
                Assert.AreEqual(TextAlignment.Start, layout.controls.HorizontalContentAlignment);
            }
示例#2
0
            public void CanUseBindableObjectDefinedInThisAssembly(bool useCompiledXaml)
            {
                var layout = new Issue3076(useCompiledXaml);

                Assert.That(layout.local, Is.TypeOf <Issue3076Button> ());
                Assert.AreEqual(TextAlignment.Start, layout.local.VerticalContentAlignment);
            }