Click or drag to resize

DynamicLayoutAddSeparateRow Method (NullablePadding, NullableSize, NullableBoolean, NullableBoolean, IEnumerableControl)

Adds a separate horizontal row of items in a new vertical section

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public DynamicRow AddSeparateRow(
	Nullable<Padding> padding = null,
	Nullable<Size> spacing = null,
	Nullable<bool> xscale = null,
	Nullable<bool> yscale = null,
	IEnumerable<Control> controls = null
)

Parameters

padding (Optional)
Type: SystemNullablePadding
Padding for the vertical section
spacing (Optional)
Type: SystemNullableSize
Spacing between each cell in the row
xscale (Optional)
Type: SystemNullableBoolean
Xscale for the vertical section
yscale (Optional)
Type: SystemNullableBoolean
Yscale for each of the controls in the row
controls (Optional)
Type: System.Collections.GenericIEnumerableControl
Controls to add initially

Return Value

Type: DynamicRow
The row added to contain the items
Remarks
This performs the same as the following, but in a single line:
layout.BeginVertical(padding, spacing, xscale, yscale);
layout.BeginHorizontal();
layout.Add(control1);
layout.Add(control2);
...
layout.EndHorizontal();
layout.EndVertical();
See Also