Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.17 KB

collectionviewsource_source.md

File metadata and controls

35 lines (24 loc) · 1.17 KB
-api-id -api-type
P:Windows.UI.Xaml.Data.CollectionViewSource.Source
winrt property

Windows.UI.Xaml.Data.CollectionViewSource.Source

-description

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

-xaml-syntax

<CollectionViewSource Source="bindingReference" .../>

-xaml-values

bindingReference
bindingReferenceA {Binding} markup extension usage that points to the data source being proxied.
## -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.

-examples

-see-also

Binding, XAML data binding sample, Data binding in depth