CollectionContainer.Collection Property


Gets or sets the collection to add.

 property System::Collections::IEnumerable ^ Collection { System::Collections::IEnumerable ^ get(); void set(System::Collections::IEnumerable ^ value); };
public System.Collections.IEnumerable Collection { get; set; }
member this.Collection : System.Collections.IEnumerable with get, set
Public Property Collection As IEnumerable

Property Value


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


Dependency Property Information

Identifier field CollectionProperty
Metadata properties set to true None

XAML Text Usage

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

Applies to