ICollectionViewFactory ICollectionViewFactory ICollectionViewFactory ICollectionViewFactory Interface

Definition

Supports creation of the relevant ICollectionView implementation.

public : interface ICollectionViewFactory
public interface ICollectionViewFactory
Public Interface ICollectionViewFactory
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The CreateView 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 for the bound collection. When using the CollectionViewSource class, you can access the View property to retrieve the ICollectionView implementation.

Methods

CreateView() CreateView() CreateView() CreateView()

Creates an ICollectionView instance using default settings.

public : ICollectionView CreateView()
public ICollectionView CreateView()
Public Function CreateView() As ICollectionView
var iCollectionView = iCollectionViewFactory.createView();
Returns

Remarks

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 for the bound collection. When using the CollectionViewSource class, you can access the View property to retrieve the ICollectionView implementation.

See Also