Layout
The StackLayout component provides the following parameters that control its appearance:
Orientation
The Orientation parameter controls whether the items nested inside the TelereikStackLayout will be aligned horizontally or vertically. It takes a member of the StackLayoutOrientation enum:
-
Horizontal- by default the items will be aligned horizontally. -
Vertical
Change the orientation of the StackLayout from the DropDownList
Spacing
The Spacing parameter controls the spacing of the elements nested inside the TelerikStackLayout. That parameter is mapped to the gap CSS rule and accepts each value you can pass to the gap CSS rule.
Use the NumericTextBox to alter the Spacing parameter
HorizontalAlign
The HorizontalAlign parameter controls the alignment of the items in the TelerikStackLayout based on the X axis. Takes a member of the StackLayoutHorizontalAlign enum:
-
Left -
Right -
Center -
Stretch- by default the items will be stretched, which means that they will take all the available space.
Change the alignment of the StackLayout from the DropDownList
VerticalAlign
The VerticalAlign parameter controls the alignment of the items in the TelerikStackLayout based on the Y axis. Takes a member of the StackLayoutVerticalAlign enum:
-
Top -
Bottom -
Center -
Stretch- by default the items will be stretched, which means that they will take all the available space.
Change the alignment of the StackLayout from the DropDownList