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.
Properties CanFilterGets a value that indicates whether this view supports filtering via the Filter property.
CanGroupGets a value that indicates whether this view supports grouping via the GroupDescriptions property.
CanSortGets a value that indicates whether this view supports sorting via the SortDescriptions property.
CultureGets or sets the cultural info for any operations of the view that may differ by culture, such as sorting.
CurrentItemGets the current item in the view.
CurrentPositionGets the ordinal position of the CurrentItem within the view.
FilterGets or sets a callback used to determine if an item is suitable for inclusion in the view.
GroupDescriptionsGets a collection of GroupDescription objects that describe how the items in the collection are grouped in the view.
GroupsGets the top-level groups.
IsCurrentAfterLastGets a value that indicates whether the CurrentItem of the view is beyond the end of the collection.
IsCurrentBeforeFirstGets a value that indicates whether the CurrentItem of the view is beyond the beginning of the collection.
IsEmptyReturns a value that indicates whether the resulting view is empty.
SortDescriptionsGets a collection of SortDescription objects that describe how the items in the collection are sorted in the view.
SourceCollectionReturns the underlying collection.
Methods Events Extension Methods See alsoCollaborate 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 articleWas 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