ClassCollectionViewProvider<T>
Class
Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.dll
Type Parameters:
T
Syntax:
cs-api-definition
public class CollectionViewProvider<T> where T : IDataItem, INotifyPropertyChanged
Inheritance: objectCollectionViewProvider<T>
Constructors
CollectionViewProvider()
Initializes a new instance of the CollectionViewProvider<T> class.
Declaration
cs-api-definition
public CollectionViewProvider()
CollectionViewProvider(ICollectionView<T>)
Initializes a new instance of the CollectionViewProvider<T> class.
Declaration
cs-api-definition
public CollectionViewProvider(ICollectionView<T> sourceCollectionView)
Parameters
sourceCollectionView
The source collection view.
Properties
Filter
Gets or sets the filter.
Declaration
cs-api-definition
public Predicate<T> Filter { get; set; }
Property Value
Predicate<T>
The filter.
GroupDescriptors
Gets or sets the group descriptors.
Declaration
cs-api-definition
public GroupDescriptorCollection GroupDescriptors { get; set; }
Property Value
The group descriptors.
SortDescriptors
Gets or sets the sort descriptors.
Declaration
cs-api-definition
public SortDescriptorCollection SortDescriptors { get; set; }
Property Value
The sort descriptors.
Methods
GetView(IEnumerable<T>)
Gets the view.
Declaration
cs-api-definition
public ISnapshotCollectionView<T> GetView(IEnumerable<T> source)
Parameters
source
IEnumerable<T>
The source.
Returns
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Raises the NotifyPropertyChanged event
Declaration
cs-api-definition
protected virtual void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
e
Events
PropertyChanged
Declaration
cs-api-definition
public event PropertyChangedEventHandler PropertyChanged
Event Value