CollectionViewSource.Source Property


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

 property Platform::Object ^ Source { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable Source();

void Source(IInspectable value);
public object Source { get; set; }
Public Property Source As Object
<CollectionViewSource Source="bindingReference" .../>

Property Value


The collection to create the view from.


When you set this property, a view is generated automatically unless the source collection implements ICollectionViewFactory. Otherwise, the view is retrieved through the CreateView method. You can retrieve the view through the View property.

Applies to

See also