Share via


VisualCollection.InsertBelow(Visual, Visual) Method

Definition

Insert a new visual below the specified visual in the visual collection.

public:
 virtual void InsertBelow(Visual ^ newChild, Visual ^ sibling) = InsertBelow;
void InsertBelow(Visual const& newChild, Visual const& sibling);
public void InsertBelow(Visual newChild, Visual sibling);
function insertBelow(newChild, sibling)
Public Sub InsertBelow (newChild As Visual, sibling As Visual)

Parameters

newChild
Visual

The new visual to insert.

sibling
Visual

The sibling visual to insert the new visual below.

Remarks

VisualCollections are ordered from bottom to top and iterating or enumerating through a collection is always done from bottom to top.

Applies to