InsertInternalChild Method
Collapse the table of content
Expand the table of content

VirtualizingPanel.InsertInternalChild Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

protected void InsertInternalChild(
	int index,
	UIElement child
)

Parameters

index
Type: System.Int32
The index position within the collection at which the child element is inserted.
child
Type: System.Windows.UIElement
The UIElement child to add to the collection.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft