Share via


VirtualizingPanel.InsertInternalChild(Int32, UIElement) 方法

定义

将指定的 UIElement 添加到位于指定索引位置的 VirtualizingPanel 元素的集合中。

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)

参数

index
Int32

int

集合中要插入子元素的索引位置。

child
UIElement

要添加到集合中的 UIElement 子级。

适用于