VirtualizingPanel.InsertInternalChild(Int32, UIElement) Metoda

Definice

Přidá zadaný UIElement do InternalChildren kolekce VirtualizingPanel elementu na zadané pozici indexu.

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)

Parametry

index
Int32

Pozice indexu v kolekci, do které je vložen podřízený prvek.

child
UIElement

Podřízená položka UIElement , která se má přidat do kolekce.

Poznámky

Tato metoda nabízí lepší výkon pro Panel prvky, které virtualizují svou podřízenou kolekci, než metoda Add .

Platí pro