How to set a maximum width of a layout/view in xamarin forms

layout, xamarin, xamarin.forms

Solution

I figured it out, the `WidthRequest" will try to get the requested width, if not it will take the width available by the parent item. So basically, we do not need a maximum width property.

Problem

I have a signup page with a few labels and entries, it works fine in portrait, but when in landscape, especially in the UWP, the entries takes the width of the whole screen. Is there a way to set the layout/view not to exceed a certain width?

Original source