Click or drag to resize

DynamicLayoutAddSeparateColumn Method (NullablePadding, NullableInt32, NullableBoolean, NullableBoolean, IEnumerableControl)

Adds a separate vertical column of items in a new vertical section

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public DynamicTable AddSeparateColumn(
	Nullable<Padding> padding = null,
	Nullable<int> 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: SystemNullableInt32
Spacing between each cell in the column
xscale (Optional)
Type: SystemNullableBoolean
Xscale for the vertical section
yscale (Optional)
Type: SystemNullableBoolean
Yscale for the vertical section
controls (Optional)
Type: System.Collections.GenericIEnumerableControl
Controls to add initially

Return Value

Type: DynamicTable
The table 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.Add(control1);
layout.Add(control2);
...
layout.EndVertical();
See Also