Пример #1
0
            public void CanUseBindableObjectDefinedInOtherAssembly(bool useCompiledXaml)
            {
                var layout = new Issue3076(useCompiledXaml);

                Assert.That(layout.controls, Is.TypeOf <Microsoft.Maui.Controls.Compatibility.ControlGallery.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);
            }