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
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for