VirtualizingPanel.InsertInternalChild(Int32, UIElement) Méthode

Définition

Ajoute le UIElement spécifié à la collection InternalChildren d'un élément VirtualizingPanel à la position d'index spécifiée.

protected:
 void InsertInternalChild(int index, System::Windows::UIElement ^ child);
protected void InsertInternalChild (int index, System.Windows.UIElement child);
member this.InsertInternalChild : int * System.Windows.UIElement -> unit
Protected Sub InsertInternalChild (index As Integer, child As UIElement)

Paramètres

index
Int32

Position d'index dans la collection à laquelle l'élément enfant est inséré.

child
UIElement

Enfant UIElement à ajouter à la collection.

Remarques

Cette méthode offre de meilleures performances pour Panel les éléments qui virtualisent leur collection enfant que la Add méthode.

S’applique à