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

Add() public method

Adds a control to the specified location.
If a control already exists in the location, it is replaced. Only one control can exist in a cell.
public Add ( Control control, Point location ) : void
control Control Control to add.
location Point The location of the control.
return void
		public void Add(Control control, Point location)
		{
			Add(control, location.X, location.Y);
		}

Same methods

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

Usage Example

Ejemplo n.º 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