Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
CollectionViewSource.Source Property
Definition
- Namespace:
- Microsoft.UI.Xaml.Data
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the collection object from which to create this view.
public:
property Platform::Object ^ Source { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable Source();
void Source(IInspectable value);
public object Source { get; set; }
var object = collectionViewSource.source;
collectionViewSource.source = object;
Public Property Source As Object
<CollectionViewSource Source="bindingReference" .../>
Property Value
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.
Applies to
See also
Feedback
Was this page helpful?
