Table of Contents

Method SetChildIndex

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetChildIndex(Control, int)

Sets the index of the child control in the Children.

public virtual void SetChildIndex(Control child, int newIndex)

Parameters

child Control

The item to search for.

newIndex int

The 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.