Επεξεργασία

Κοινή χρήση μέσω


CollectionContainer.Collection Property

Definition

Gets or sets the collection to add.

public:
 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.

Remarks

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