Click or drag to resize

TableLayoutAdd Method (Control, Int32, Int32, Boolean, Boolean)

Adds a control to the specified x & y coordinates.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void Add(
	Control control,
	int x,
	int y,
	bool xscale,
	bool yscale
)

Parameters

control
Type: Eto.FormsControl
Control to add.
x
Type: SystemInt32
The x coordinate.
y
Type: SystemInt32
The y coordinate.
xscale
Type: SystemBoolean
If set to true xscale.
yscale
Type: SystemBoolean
If set to true yscale.
Remarks
If a control already exists in the location, it is replaced. Only one control can exist in a cell. The xscale and yscale parameters are to easily set the scaling for the current row/column while adding the control.
See Also