CollectionContainer::Collection Property

 

Gets or sets the collection to add.

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

public:
property IEnumerable^ Collection {
	IEnumerable^ get();
	void set(IEnumerable^ value);
}

Property Value

Type: System.Collections::IEnumerable^

The collection to add. The default is an empty collection.

Identifier field

CollectionProperty

Metadata properties set to true

None

In XAML, you can use the Binding syntax to bind to a collection. For more information, see the Binding type.

.NET Framework
Available since 3.0
Return to top
Show: