Layouts
Position your UI controls and other elements inside the UI of your application.
You can use layouts to specify the arrangement of controls on the screens of your app. You can choose from several layout types to find the one that's right for you. For example, you can use a stack layout to make sure that controls are always positioned next to each other, ether horizontally or vertically. Or, you can use an absolute layout to specify the exact positions of your controls, down to the pixel. You can also handle margins, alignment, and the direction of your layouts.
Additional resources
To learn more about layouts and how to use them in your apps, visit the Layouts documentation.
To download code samples that demonstrate how to use different types of layouts, visit the Sample Apps page and the Cascades Samples repository in Github.
Members
- AbsoluteLayout -
A Layout that allows you to set X and Y coordinates for controls.
- AbsoluteLayoutProperties -
LayoutProperties that can be assigned to controls in an AbsoluteLayout.
- DockLayout -
A Layout that docks children to a specified area of the container.
- FlowListLayout
- FlowListLayoutProperties -
Layout properties that are assigned to controls in a FlowListLayout.
- GridListLayout -
A layout used with ListView to lay out items in a grid.
- HorizontalAlignment
- Layout
- LayoutOrientation
- LayoutProperties
- LayoutUpdateHandler
- ListHeaderMode
- ListLayout
- StackLayout
- StackLayoutProperties -
LayoutProperties that are assigned to controls within a StackLayout.
- StackListLayout -
A layout used with ListView to lay out children in a simple stack.
- VerticalAlignment