ComponentOne FlexGrid for UWP
C1.UWP.FlexGrid Assembly / C1.Xaml.FlexGrid Namespace / C1FlexGrid Class / CollectionView Property

In This Topic
    CollectionView Property
    In This Topic
    Gets the Windows.UI.Xaml.Data.ICollectionView that represents the current data source.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property CollectionView As ICollectionView
    public ICollectionView CollectionView {get;}
    Remarks

    This property exposes the grid's data source as an Windows.UI.Xaml.Data.ICollectionView. If the ItemsSource value implements Windows.UI.Xaml.Data.ICollectionView, then the ItemsSource and CollectionView properties return the same value.

    If the current ItemsSource does not implement the Windows.UI.Xaml.Data.ICollectionView, then the control creates an internal Windows.UI.Xaml.Data.ICollectionView that wraps the data source. The CollectionView property exposes this internal Windows.UI.Xaml.Data.ICollectionView so applications have access to the data source state including sorting, filtering, and grouping.

    See Also