Tinkr2/4.2/AphelionCore/AphelionCore/Controls/Container.cs
/// <summary>
/// Returns a child by its index.
/// </summary>
/// <param name="index">The index inside of the array of controls to return</param>
/// <returns>Returns the control or null if the index is out of range.</returns>
Returns a child by its index.
Returns a child by its index .
public virtual IControl GetChildByIndex(int index)
      {
         if (_children == null || index < 0 || index >= _children.Length)
         {
            return null;
         }
         return _children[index];
      }
public virtual IControl GetChildByIndex ( int index ) { if ( _children == null || index < 0 || index >= _children . Length ) { return null ; } return _children [ index ] ; }
Returns a child by its index.
Returns a child by its index .
Returns the control or null if the index is out of range.
Returns the control or null if the index is out of range .
index
int
The index inside of the array of controls to return
The index inside of the array of controls to return