VirtualizingPanel.InsertInternalChild(Int32, UIElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Remarks
This method offers better performance for Panel elements that virtualize their child collection than does the Add method.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.