UIElementCollection(UIElement, FrameworkElement) 建構函式

定義

初始化 UIElementCollection 類別的新執行個體。

public:
 UIElementCollection(System::Windows::UIElement ^ visualParent, System::Windows::FrameworkElement ^ logicalParent);
public UIElementCollection (System.Windows.UIElement visualParent, System.Windows.FrameworkElement logicalParent);
new System.Windows.Controls.UIElementCollection : System.Windows.UIElement * System.Windows.FrameworkElement -> System.Windows.Controls.UIElementCollection
Public Sub New (visualParent As UIElement, logicalParent As FrameworkElement)

參數

visualParent
UIElement

集合的 UIElement 父代。

logicalParent
FrameworkElement

集合中之項目的邏輯父代。

適用於