CollectionView Properties

The CollectionView type exposes the following members.

  Name Description
Protected property AllowsCrossThreadChanges Gets a value that indicates whether a thread other than the one that created the CollectionView can change the SourceCollection.
Public property CanFilter Gets a value that indicates whether the view supports filtering.
Public property CanGroup Gets a value that indicates whether the view supports grouping.
Public property CanSort Gets a value that indicates whether the view supports sorting.
Public property Comparer Returns an object that you can use to compare items in the view.
Public property Count Gets the number of records in the view.
Public property Culture Gets or sets the culture information to use during sorting.
Public property CurrentItem Gets the current item in the view.
Public property CurrentPosition Gets the ordinal position of the CurrentItem within the (optionally sorted and filtered) view.
Public property Dispatcher Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public property Filter Gets or sets a method used to determine if an item is suitable for inclusion in the view.
Public property GroupDescriptions Gets a collection of GroupDescription objects that describes how the items in the collection are grouped in the view.
Public property Groups Gets a collection of the top-level groups that is constructed based on the GroupDescriptions property.
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 before the beginning of the collection.
Protected property IsCurrentInSync Gets a value that indicates whether the CurrentItem is at the CurrentPosition.
Protected property IsDynamic Gets a value that indicates whether the underlying collection provides change notifications.
Public property IsEmpty Gets a value that indicates whether the resulting (filtered) view is empty.
Public property IsInUse Gets a value that indicates whether any object is subscribing to the events of this CollectionView.
Protected property IsRefreshDeferred Gets a value that indicates whether there is an outstanding DeferRefresh in use.
Public property NeedsRefresh Gets a value that indicates whether the view needs to be refreshed.
Public property Static member NewItemPlaceholder Gets the object that is in the collection to represent a new item.
Public property SortDescriptions Gets a collection of SortDescription structures that describes how the items in the collection are sorted in the view.
Public property SourceCollection Returns the underlying unfiltered collection.
Protected property UpdatedOutsideDispatcher Gets a value that indicates whether it has been necessary to update the change log because a CollectionChanged notification has been received on a different thread without first entering the user interface (UI) thread dispatcher.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft