VirtualizingPanel.InsertInternalChild(Int32, UIElement) 方法

定義

將所指定的 UIElement 加入至 InternalChildren 項目之 VirtualizingPanel 集合中的指定索引位置。

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)

參數

index
Int32

在集合中插入子項目的索引位置。

child
UIElement

要加入至集合的 UIElement 子項。

備註

這個方法為虛擬化其子集合的專案提供比 Add 方法更好的效能 Panel

適用於