xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_child_index() [2/2]

size_t xtd::forms::control::get_child_index ( intptr  child,
bool &  throw_exception 
) const

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.

Parameters
childThe control to search for in the control collection.
throw_exceptiontrue to throw an exception if the control specified in the child parameter is not a control in the control::control_collection; otherwise, false.