Method SetChildIndex
SetChildIndex(Control, int)
Sets the index of the child control in the Children.
public virtual void SetChildIndex(Control child, int newIndex)
Parameters
Remarks
If newIndex
= -1, moves to the end of the collection.
Exceptions
- ArgumentException
The item is not in the collection.