Click or drag to resize

StackLayoutItem Constructor (Control, NullableVerticalAlignment, Boolean)

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

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

Parameters

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