Skip to main content
Exit focus mode
Learn about layout classes and layout features in Xamarin.Forms.
Choose a Layout
Learn about how the main layout classes in Xamarin.Forms position and size their children.
Learn how to organize views in a one-dimensional stack, either horizontally or vertically.
Learn how to organize views into rows and columns, which can have proportional or absolute sizes.
Learn how to organize views horizontally or vertically, with wrapping.
Learn how to organize views by setting constraints, relative to properties of the layout or sibling views.
Learn how to organize views by setting coordinate and size values, which can be proportional or absolute.
Learn how to provide scrolling when a view doesn't fit within the bounds of the screen.
Learn how to use a ContentView to create a custom control.
Learn how to wrap a view with a frame that can be configured with color, drop shadow, and other options.
Learn how to define a view's alignment within its parent layout.
Margin and Padding
Learn how to control the distance between an element and its adjacent elements, and its child elements.
Learn how to configure and respond to device orientation changes.
Tablet and Desktop Layout
Learn how to optimize layout for tablet and desktop applications.
Learn how to enable layout classes to generate their content, and set its appearance, by binding to a collection of items.
Learn how to remove specific layout objects from the visual tree, in an attempt to improve page rendering performance.
Learn how to create an orientation-sensitive custom layout class.