Click or drag to resize

DynamicLayout.AddSeparateColumn Method (Nullable<Padding>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<Control>)

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: System.Nullable<Padding>
Padding for the vertical section
spacing (Optional)
Type: System.Nullable<Int32>
Spacing between each cell in the column
xscale (Optional)
Type: System.Nullable<Boolean>
Xscale for the vertical section
yscale (Optional)
Type: System.Nullable<Boolean>
Yscale for the vertical section
controls (Optional)
Type: System.Collections.Generic.IEnumerable<Control>
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