VirtualizingPanel.InsertInternalChild(Int32, UIElement) Método

Definición

Agrega el UIElement especificado a la recolección InternalChildren de un elemento VirtualizingPanel en la posición de índice especificada.

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)

Parámetros

index
Int32

La posición de índice dentro de la recolección en la que se inserta el elemento secundario.

child
UIElement

El UIElement secundario que se agrega a la recolección.

Comentarios

Este método ofrece un mejor rendimiento para Panel los elementos que virtualizan su colección secundaria que el Add método .

Se aplica a