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)); }
public void TypeConvertersOnAttachedBP(bool useCompiledXaml) { var p = new Unreported002(useCompiledXaml); Assert.AreEqual(new Rectangle(0.5, 0.5, 1, -1), AbsoluteLayout.GetLayoutBounds(p.label)); }