VisualCollection.InsertAtTop(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.
Inserts a new visual at the top of the visual collection.
public:
virtual void InsertAtTop(Visual ^ newChild) = InsertAtTop;
void InsertAtTop(Visual const& newChild);
public void InsertAtTop(Visual newChild);
function insertAtTop(newChild)
Public Sub InsertAtTop (newChild As Visual)
Parameters
- newChild
- Visual
The new visual to insert.
Remarks
VisualCollections are ordered from bottom to top and iterating or enumerating through a collection is always done from bottom to top.