Пример #1
0
            public void TypeConvertersOnAttachedBP(bool useCompiledXaml)
            {
                var p = new Unreported002(useCompiledXaml);

                Assert.AreEqual(new Rectangle(0.5, 0.5, 1, -1), AbsoluteLayoutCompat.GetLayoutBounds(p.label));
                Assert.AreEqual(new Rectangle(0.7, 0.7, 0.9, -1), Microsoft.Maui.Controls.AbsoluteLayout.GetLayoutBounds(p.label2));
            }
Пример #2
0
            public void TypeConvertersOnAttachedBP(bool useCompiledXaml)
            {
                var p = new Unreported002(useCompiledXaml);

                Assert.AreEqual(new Rectangle(0.5, 0.5, 1, -1), AbsoluteLayout.GetLayoutBounds(p.label));
            }