Gets the ICollectionView that represents the current data source.
Namespace:
C1.Silverlight.FlexGridAssembly: C1.Silverlight.FlexGrid.4 (in C1.Silverlight.FlexGrid.4.dll)
Syntax
C# |
---|
public ICollectionView CollectionView { get; } |
Visual Basic |
---|
Public ReadOnly Property CollectionView As ICollectionView Get |
Remarks
This property exposes the grid's data source as an ICollectionView. If the ItemsSource value implements ICollectionView, then the ItemsSource and CollectionView properties return the same value.
If the current ItemsSource does not implement the ICollectionView, then the control creates an internal ICollectionView that wraps the data source. The CollectionView property exposes this internal ICollectionView so applications have access to the data source state including sorting, filtering, and grouping.