osu.Framework/Graphics/Containers/Container.cs
/// <summary>
/// Changes the depth of a child. This affects ordering of children within this container.
/// </summary>
/// <param name="child">The child whose depth is to be changed.</param>
/// <param name="newDepth">The new depth value to be set.</param>
Changes the depth of a child. This affects ordering of children within this container.
Changes the depth of a child . This affects ordering of children within this container .
public void ChangeChildDepth(T child, float newDepth)
        {
            if (Content != this)
                Content.ChangeChildDepth(child, newDepth);
            else
                ChangeInternalChildDepth(child, newDepth);
        }
public void ChangeChildDepth ( T child , float newDepth ) { if ( Content != this ) Content . ChangeChildDepth ( child , newDepth ) ; else ChangeInternalChildDepth ( child , newDepth ) ; }
Changes the depth of a child.
Changes the depth of a child .
child
T
The child whose depth is to be changed.
The child whose depth is to be changed .
newDepth
float
The new depth value to be set.
The new depth value to be set .