View Property
Collapse the table of content
Expand the table of content

CollectionViewSource.View Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the view object that is currently associated with this instance of CollectionViewSource.

Namespace:  System.Windows.Data
Assembly:  System.Windows (in System.Windows.dll)

public ICollectionView View { get; }

Property Value

Type: System.ComponentModel.ICollectionView
The view object that is currently associated with this instance of CollectionViewSource.

This property is initialized when you set the Source property. At that time, a view is generated automatically unless the source collection implements ICollectionViewFactory. Otherwise, the view is retrieved through the CreateView method.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft