Panel.CreateUIElementCollection(FrameworkElement) 方法

定義

建立新的 UIElementCollection

protected:
 virtual System::Windows::Controls::UIElementCollection ^ CreateUIElementCollection(System::Windows::FrameworkElement ^ logicalParent);
protected virtual System.Windows.Controls.UIElementCollection CreateUIElementCollection (System.Windows.FrameworkElement logicalParent);
abstract member CreateUIElementCollection : System.Windows.FrameworkElement -> System.Windows.Controls.UIElementCollection
override this.CreateUIElementCollection : System.Windows.FrameworkElement -> System.Windows.Controls.UIElementCollection
Protected Overridable Function CreateUIElementCollection (logicalParent As FrameworkElement) As UIElementCollection

參數

logicalParent
FrameworkElement

要建立之集合的邏輯父項目。

傳回

具有指定之邏輯父代的已排序項目集合。

備註

使用產生的 UIElementCollection 來快取子專案的相關資訊,或執行累加式配置更新。

適用於

另請參閱