Udostępnij za pośrednictwem


VisualCollection.InsertAtTop(Visual) Method

Definition

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.

Applies to