Layout.IPositionalLayoutHandler

References
Platform handler interface for positional layouts where controls are placed in an x, y grid

Methods

Add

#
void Add(Control control, int x, int y)
Adds the control to the layout given the specified co-ordinates
Remarks: Adding a control typically will make it visible to the user immediately, assuming they can see the control in the current co-ordinates, and that the control's Control.Visible property is true
control (Control)Child control to add to this layout
x (int)X co-ordinate
y (int)Y co-ordinate

Move

#
void Move(Control control, int x, int y)
Moves the control to the specified co-ordinates
Remarks: This assumes that the control is already a child of this layout
control (Control)Child control to move
x (int)New X co-ordinate
y (int)New Y co-ordinate

Remove

#
void Remove(Control control)
Removes the specified child from this layout
Remarks: This assumes that the control is already a child of this layout. This will make the child control invisible to the user
control (Control)Child control to remove