ICollectionView Properties

ICollectionView Properties

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

The ICollectionView type exposes the following members.

  NameDescription
Public property CanFilter Gets a value that indicates whether this view supports filtering by way of the Filter property.
Public property CanGroup Gets a value that indicates whether this view supports grouping by way of the GroupDescriptions property.
Public property CanSort Gets a value that indicates whether this view supports sorting by way of the SortDescriptions property.
Public property Culture Gets or sets the cultural information for any operations of the view that may differ by culture, such as sorting.
Public property CurrentItem Gets the current item in the view.
Public property CurrentPosition Gets the ordinal position of the CurrentItem in the view.
Public property Filter Gets or sets a callback that is used to determine whether an item is appropriate for inclusion in the view.
Public property GroupDescriptions Gets a collection of GroupDescription objects that describe how the items in the collection are grouped in the view.
Public property Groups Gets the top-level groups.
Public property IsCurrentAfterLast Gets a value that indicates whether the CurrentItem of the view is beyond the end of the collection.
Public property IsCurrentBeforeFirst Gets a value that indicates whether the CurrentItem of the view is beyond the start of the collection.
Public property IsEmpty Gets a value that indicates whether the view is empty.
Public property SortDescriptions Gets a collection of SortDescription instances that describe how the items in the collection are sorted in the view.
Public property SourceCollection Gets the underlying collection.
Top

Show:
© 2017 Microsoft