Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ICollectionViewFactory.CreateView Method

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 or DataGrid.ItemsSource 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.

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.