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