CreateView Method
Collapse the table of content
Expand the table of content

ICollectionViewFactory.CreateView Method

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

Returns a custom view for specialized sorting, filtering, grouping, and currency.

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

ICollectionView CreateView()

Return Value

Type: System.ComponentModel.ICollectionView
A custom view for specialized sorting, filtering, grouping, and currency.

This method is called when you set the CollectionViewSource.Source property to an ICollectionViewFactory implementation. The returned ICollectionView implementation is used to manage sorting, filtering, grouping, and currency with the bound collection.

When using the CollectionViewSource class, you can access the View property to retrieve the ICollectionView implementation.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft