Click or drag to resize

StackLayout Class

Layout to stack controls horizontally or vertically, with the ability for each child to be aligned to a side of the layout.
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[ContentPropertyAttribute("Items")]
public class StackLayout : Panel

The StackLayout type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAlignLabels
Gets or sets a value indicating whether the Label's alignment will be changed to match the alignment of the StackLayout.
Public propertyControls
Gets the controls for the layout
(Overrides PanelControls.)
Public propertyHorizontalContentAlignment
Gets or sets the default horizontal alignment of the child controls in the stack layout when the Orientation is Vertical.
Public propertyItems
Gets the collection of items in the stack layout.
Public propertyOrientation
Gets or sets the orientation of the controls in the stack layout.
Public propertySpacing
Gets or sets the spacing between each of the controls in the stack.
Public propertyVerticalContentAlignment
Gets or sets the default vertical alignment of the child controls in the stack layout when the Orientation is Horizontal.
Public propertyVisualControls
Gets an enumeration of controls that are in the visual tree.
(Overrides ControlVisualControls.)
Top
Methods
See Also