Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.dll
Type Parameters:
TDataItem
Syntax:
public class SnapshotCollectionView<TDataItem> : ISnapshotCollectionView<TDataItem>, ICollectionView<TDataItem>, IReadOnlyCollection<TDataItem>, IEnumerable where TDataItem : IDataItem
Inheritance: objectSnapshotCollectionView<TDataItem>
Implements:
Constructors
public SnapshotCollectionView(IEnumerable<TDataItem> sourceCollection, RadCollectionView<TDataItem> sourceView)
Properties
GroupBuilder
GroupBuilder<TDataItem>
protected virtual GroupBuilder<TDataItem> GroupBuilder { get; }
GroupComparer
IComparer<Group<TDataItem>>
public virtual IComparer<Group<TDataItem>> GroupComparer { get; set; }
Implements:
GroupPredicate
GroupPredicate<TDataItem>
Gets or sets the group predicate.
public virtual GroupPredicate<TDataItem> GroupPredicate { get; set; }
The group predicate.
Groups
GroupCollection<TDataItem>
Gets the groups.
public GroupCollection<TDataItem> Groups { get; }
The groups.
Implements:
SourceCollection
IEnumerable<TDataItem>
Gets the source collection.
public IEnumerable<TDataItem> SourceCollection { get; }
The source collection.
Implements:
SourceView
RadCollectionView<TDataItem>
protected virtual RadCollectionView<TDataItem> SourceView { get; }
Methods
Determines whether [contains] [the specified value].
public bool Contains(TDataItem value)
The value.
Returns:true if [contains] [the specified value]; otherwise, false.
Implements:
Copies to.
public void CopyTo(TDataItem[] array, int index)
The array.
indexintThe index.
Implements:
public IEnumerator<TDataItem> GetEnumerator()
IEnumerator<TDataItem>
Indexes the of.
public void Load(IEnumerable<TDataItem> source)
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Sets the view in dirty state.
public void SetDirty()
Events
public event NotifyCollectionChangedEventHandler CollectionChanged
Implements:
public event EventHandler CurrentChanged
Implements:
public event CancelEventHandler CurrentChanging
Implements: