A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.icollectionview below:

ICollectionView Interface (System.ComponentModel) | Microsoft Learn

ICollectionView Interface Definition

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
Derived
Implements

The interface is implemented by the CollectionView class, which is the base class for BindingListCollectionView, ListCollectionView, and ItemCollection.

Properties CanFilter

Gets a value that indicates whether this view supports filtering via the Filter property.

CanGroup

Gets a value that indicates whether this view supports grouping via the GroupDescriptions property.

CanSort

Gets a value that indicates whether this view supports sorting via the SortDescriptions property.

Culture

Gets or sets the cultural info for any operations of the view that may differ by culture, such as sorting.

CurrentItem

Gets the current item in the view.

CurrentPosition

Gets the ordinal position of the CurrentItem within the view.

Filter

Gets or sets a callback used to determine if an item is suitable for inclusion in the view.

GroupDescriptions

Gets a collection of GroupDescription objects that describe how the items in the collection are grouped in the view.

Groups

Gets the top-level groups.

IsCurrentAfterLast

Gets a value that indicates whether the CurrentItem of the view is beyond the end of the collection.

IsCurrentBeforeFirst

Gets a value that indicates whether the CurrentItem of the view is beyond the beginning of the collection.

IsEmpty

Returns a value that indicates whether the resulting view is empty.

SortDescriptions

Gets a collection of SortDescription objects that describe how the items in the collection are sorted in the view.

SourceCollection

Returns the underlying collection.

Methods Events Extension Methods See also

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4