DynamicLayout.AddSeparateRow Method (Control[]) |
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
Syntaxpublic DynamicRow AddSeparateRow(
params Control[] controls
)
Public Function AddSeparateRow (
ParamArray controls As Control()
) As DynamicRow
member AddSeparateRow :
controls : Control[] -> DynamicRow
Parameters
- controls
- Type:Eto.Forms.Control[]
Controls.
Return Value
Type:
DynamicRowThe separate row.
Remarks
This performs the same as the following, but in a single line:
layout.BeginVertical();
layout.BeginHorizontal();
layout.Add(control1);
layout.Add(control2);
...
layout.EndHorizontal();
layout.EndVertical();
See Also