Export (0) Print
Expand All

CollectionViewSource.View Property

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.

Version Notes

Silverlight 3 does not support the ICollectionViewFactory interface.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft