Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Panel::CreateUIElementCollection Method

Creates a new UIElementCollection.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected:
virtual UIElementCollection^ CreateUIElementCollection(
	FrameworkElement^ logicalParent
)

Parameters

logicalParent
Type: System.Windows::FrameworkElement

The logical parent element of the collection to be created.

Return Value

Type: System.Windows.Controls::UIElementCollection
An ordered collection of elements that have the specified logical parent.

Use the generated UIElementCollection to cache information about child elements or to perform incremental layout updates.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft