Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CollectionViewSource.View Property

Definition

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 the view object that is currently associated with this instance of CollectionViewSource.

public:
 property ICollectionView ^ View { ICollectionView ^ get(); };
ICollectionView View();
public ICollectionView View { get; }
var iCollectionView = collectionViewSource.view;
Public ReadOnly Property View As ICollectionView

Property Value

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

Remarks

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.

Applies to

See also


Feedback

Was this page helpful?