Click or drag to resize

StackLayoutItem Constructor (Control, NullableHorizontalAlignment, Boolean)

Initializes a new instance of the StackLayoutItem class when the StackLayout.Orientation is Vertical.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public StackLayoutItem(
	Control control,
	Nullable<HorizontalAlignment> alignment,
	bool expand = false
)

Parameters

control
Type: Eto.FormsControl
Control for the item.
alignment
Type: SystemNullableHorizontalAlignment
Horizontal alignment of the control for vertical layouts.
expand (Optional)
Type: SystemBoolean
Whether the control expands to fill space along the direction of the layout
See Also