VirtualizingPanel.InsertInternalChild(Int32, UIElement) Method

Definition

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

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.VirtualizingPanel.InsertInternalChild.

protected:
 virtual void InsertInternalChild(int index, UIElement ^ child) = InsertInternalChild;
void InsertInternalChild(int const& index, UIElement const& child);
protected void InsertInternalChild(int index, UIElement child);
function insertInternalChild(index, child)
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.

Applies to