VisualCollection.InsertBelow(Visual, Visual) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.