CollectionViewSource.Source CollectionViewSource.Source CollectionViewSource.Source CollectionViewSource.Source Property

Definition

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

public : Platform::Object Source { get; set; }
winrt::Windows::Foundation::IInspectable Source();

void Source(winrt::Windows::Foundation::IInspectable source);
public object Source { get; set; }
Public ReadWrite Property Source As object
<CollectionViewSource Source="bindingReference" .../>

Property Value

object object

The collection to create the view from.

Remarks

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.

See also