Eto.Forms.TableLayout.Add C# (CSharp) Method

Add() public method

Adds a control to the specified x & y coordinates.
If a control already exists in the location, it is replaced. Only one control can exist in a cell.
public Add ( Control control, int x, int y ) : void
control Control Control to add.
x int The x coordinate.
y int The y coordinate.
return void
		public void Add(Control control, int x, int y)
		{
			InnerAdd(control, x, y);
		}

Same methods

TableLayout::Add ( Control control, Point location ) : void
TableLayout::Add ( Control control, int x, int y, bool xscale, bool yscale ) : void

Usage Example

Example #1
0
		public SpacingSection ()
		{
			var layout = new TableLayout (this, 3, 1);

			layout.Add (NoSpacing (), 0, 0, true, true);
			layout.Add (NoPadding (), 1, 0, true, true);
			layout.Add (DifferentSizes (), 2, 0, true, true);
		}
All Usage Examples Of Eto.Forms.TableLayout::Add