編輯

共用方式為


UIElementCollection(UIElement, FrameworkElement) Constructor

Definition

Initializes a new instance of the UIElementCollection class.

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)

Parameters

visualParent
UIElement

The UIElement parent of the collection.

logicalParent
FrameworkElement

The logical parent of the elements in the collection.

Applies to