Control::ControlCollection::GetChildIndex Method

 

Retrieves the index of a control within the control collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodGetChildIndex(Control^)

Retrieves the index of the specified child control within the control collection.

System_CAPS_pubmethodGetChildIndex(Control^, Boolean)

Retrieves the index of the specified child control within the control collection, and optionally raises an exception if the specified control is not within the control collection.

Return to top
Show: