Bearbeiten

Freigeben über


VirtualizingPanel.InsertInternalChild(Int32, UIElement) Method

Definition

Adds the specified UIElement to the InternalChildren collection of a VirtualizingPanel element at the specified index position.

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)

Parameters

index
Int32

The index position within the collection at which the child element is inserted.

child
UIElement

The UIElement child to add to the collection.

Remarks

This method offers better performance for Panel elements that virtualize their child collection than does the Add method.

Applies to