Table of Contents

Method SetChildIndex

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

SetChildIndex(AbstractControl, int)

Sets the index of the child control in the Children.

public virtual void SetChildIndex(AbstractControl child, int newIndex)

Parameters

child AbstractControl

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.