VirtualizingPanel.InsertInternalChild(Int32, UIElement) Metoda

Definicja

Dodaje określony UIElement element do InternalChildren kolekcji VirtualizingPanel elementu na określonej pozycji indeksu.

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

Pozycja indeksu w kolekcji, w której wstawiono element podrzędny.

child
UIElement

Element podrzędny UIElement do dodania do kolekcji.

Uwagi

Ta metoda zapewnia lepszą wydajność elementów Panel , które zwirtualizuje ich kolekcję podrzędną niż Add metoda .

Dotyczy