Does UWP project in Xamarin.Forms check the size of itself Automaticly?

magnetismmagnetism NZUniversity ✭✭

I am adding an UWP project into my Xamarin.Forms solution. There is a exception:
UnhandledException += (sender, e) =>
if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();


The message is
"Message = "System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.\r\n at Windows.UI.Xaml.UIElement.Measure(Size availableSize)\r\n at Xamarin.Forms.Platform.UWP.VisualElementRenderer`2.MeasureOverride(Size availableSize)

When I change the "Grid.RowSpan" of some controls, the exception just gone.

By the way, there is no exception when the app runs in local Machine, it just occurs in Windows Mobile.

Is this something about size?

Sign In or Register to comment.