CollectionViewSource.Source Property


Gets or sets the collection object from which to create this view.

 property System::Object ^ Source { System::Object ^ get(); void set(System::Object ^ value); };
public object Source { get; set; }
member this.Source : obj with get, set
Public Property Source As Object

Property Value

The default value is null.


Dependency Property Information

Identifier Field SourceProperty
Metadata properties set to true None

XAML Attribute Usage

<object Source="myCollection" .../>  

XAML Values

An existing collection. To refer to an existing collection, use the StaticResource Markup Extension.

Applies to