Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables collections to have the functionalities of current record management, custom sorting, filtering, and grouping.
public interface class ICollectionView : System::Collections::IEnumerable, System::Collections::Specialized::INotifyCollectionChanged
public interface ICollectionView : System.Collections.IEnumerable, System.Collections.Specialized.INotifyCollectionChanged
type ICollectionView = interface interface IEnumerable interface INotifyCollectionChanged
Public Interface ICollectionView Implements IEnumerable, INotifyCollectionChanged
The interface is implemented by the CollectionView class, which is the base class for BindingListCollectionView, ListCollectionView, and ItemCollection.
Gets a value that indicates whether this view supports filtering via the Filter property.
Gets a value that indicates whether this view supports grouping via the GroupDescriptions property.
Gets a value that indicates whether this view supports sorting via the SortDescriptions property.
Gets or sets the cultural info for any operations of the view that may differ by culture, such as sorting.
Gets the current item in the view.
Gets the ordinal position of the CurrentItem within the view.
Gets or sets a callback used to determine if an item is suitable for inclusion in the view.
Gets a collection of GroupDescription objects that describe how the items in the collection are grouped in the view.
Gets the top-level groups.
Gets a value that indicates whether the CurrentItem of the view is beyond the end of the collection.
Gets a value that indicates whether the CurrentItem of the view is beyond the beginning of the collection.
Returns a value that indicates whether the resulting view is empty.
Gets a collection of SortDescription objects that describe how the items in the collection are sorted in the view.
Returns the underlying collection.
Returns a value that indicates whether a given item belongs to this collection view.
Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.
Returns an enumerator that iterates through a collection.(Inherited from IEnumerable)
Sets the specified item to be the CurrentItem in the view.
Sets the first item in the view as the CurrentItem.
Sets the last item in the view as the CurrentItem.
Sets the item after the CurrentItem in the view as the CurrentItem.
Sets the item at the specified index to be the CurrentItem in the view.
Sets the item before the CurrentItem in the view as the CurrentItem.
Recreates the view.
Occurs when the collection changes.(Inherited from INotifyCollectionChanged)
When implementing this interface, raise this event after the current item has been changed.
When implementing this interface, raise this event before changing the current item. Event handler can cancel this event.
Casts the elements of an IEnumerable to the specified type.
Filters the elements of an IEnumerable based on a specified type.
Enables parallelization of a query.
Converts an IEnumerable to an IQueryable.