語言

VirtualizingPanel.AddInternalChild(UIElement) 方法

定義

將指定的 UIElementInternalChildren 加入元素的集合 VirtualizingPanel 中。

protected:
 void AddInternalChild(System::Windows::UIElement ^ child);
protected void AddInternalChild(System.Windows.UIElement child);
member this.AddInternalChild : System.Windows.UIElement -> unit
Protected Sub AddInternalChild (child As UIElement)

參數

child
UIElement

UIElement要加入收藏的孩子。

備註

此方法對於 Panel 虛擬化子集合的元素來說,效能比該 Add 方法更好。

適用於