Class SnapshotCollectionView<TDataItem>
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Data
Assembly: Telerik.WinControls.dll
Syntax
public class SnapshotCollectionView<TDataItem> : ISnapshotCollectionView<TDataItem>, ICollectionView<TDataItem>, IReadOnlyCollection<TDataItem>, IEnumerable<TDataItem>, IEnumerable where TDataItem : IDataItem
Type Parameters
TDataItem
|
Constructors
SnapshotCollectionView(IEnumerable<TDataItem>, RadCollectionView<TDataItem>)
Declaration
public SnapshotCollectionView(IEnumerable<TDataItem> sourceCollection, RadCollectionView<TDataItem> sourceView)
Parameters
System.Collections.Generic.IEnumerable<TDataItem>
sourceCollection
|
RadCollectionView<TDataItem>
sourceView
|
Properties
Count
Declaration
public int Count { get; }
Property Value
System.Int32
|
Implements
GroupBuilder
Declaration
protected virtual GroupBuilder<TDataItem> GroupBuilder { get; }
Property Value
GroupBuilder<TDataItem>
|
GroupComparer
Declaration
public virtual IComparer<Group<TDataItem>> GroupComparer { get; set; }
Property Value
System.Collections.Generic.IComparer<Group<TDataItem>>
|
Implements
GroupPredicate
Gets or sets the group predicate.
Declaration
public virtual GroupPredicate<TDataItem> GroupPredicate { get; set; }
Property Value
GroupPredicate<TDataItem>
The group predicate. |
Groups
Gets the groups.
Declaration
public GroupCollection<TDataItem> Groups { get; }
Property Value
GroupCollection<TDataItem>
The groups. |
Implements
Indexer
Item[Int32]
Declaration
public TDataItem this[int index] { get; }
Parameters
System.Int32
index
|
Property Value
TDataItem
|
Implements
SourceCollection
Gets the source collection.
Declaration
public IEnumerable<TDataItem> SourceCollection { get; }
Property Value
System.Collections.Generic.IEnumerable<TDataItem>
The source collection. |
Implements
SourceView
Declaration
protected virtual RadCollectionView<TDataItem> SourceView { get; }
Property Value
RadCollectionView<TDataItem>
|
Methods
Contains(TDataItem)
Declaration
public bool Contains(TDataItem value)
Parameters
TDataItem
value
|
Returns
System.Boolean
|
Implements
CopyTo(TDataItem[], Int32)
Declaration
public void CopyTo(TDataItem[] array, int index)
Parameters
TDataItem[]
array
|
System.Int32
index
|
Implements
Evaluate(String, TDataItem)
Evaluates the specified expression.
Declaration
public object Evaluate(string expression, TDataItem item)
Parameters
System.String
expression
The expression. |
TDataItem
item
The item. |
Returns
System.Object
|
Evaluate(String, Int32, Int32)
Evaluates the specified expression.
Declaration
public object Evaluate(string expression, int startIndex, int count)
Parameters
System.String
expression
The expression. |
System.Int32
startIndex
The start index. |
System.Int32
count
The count. |
Returns
System.Object
|
GetEnumerator()
Declaration
public IEnumerator<TDataItem> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<TDataItem>
|
Implements
IndexOf(TDataItem)
Declaration
public int IndexOf(TDataItem value)
Parameters
TDataItem
value
|
Returns
System.Int32
|
Implements
Load(IEnumerable<TDataItem>)
Declaration
public void Load(IEnumerable<TDataItem> source)
Parameters
System.Collections.Generic.IEnumerable<TDataItem>
source
|
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
NotifyCollectionChangedEventArgs
args
|
OnCurrentChanged(EventArgs)
Declaration
protected virtual void OnCurrentChanged(EventArgs args)
Parameters
System.EventArgs
args
|
OnCurrentChanging(CancelEventArgs)
Declaration
protected virtual void OnCurrentChanging(CancelEventArgs args)
Parameters
System.ComponentModel.CancelEventArgs
args
|
SetDirty()
Sets the view in dirty state.
Declaration
public void SetDirty()
Events
CollectionChanged
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
NotifyCollectionChangedEventHandler
|
Implements
CurrentChanged
Declaration
public event EventHandler CurrentChanged
Event Type
System.EventHandler
|
Implements
CurrentChanging
Declaration
public event CancelEventHandler CurrentChanging
Event Type
System.ComponentModel.CancelEventHandler
|
Implements
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|
Implements
ICollectionView<TDataItem>.CanFilter
Declaration
bool ICollectionView<TDataItem>.CanFilter { get; }
Returns
System.Boolean
|
Implements
ICollectionView<TDataItem>.CanGroup
Declaration
bool ICollectionView<TDataItem>.CanGroup { get; }
Returns
System.Boolean
|
Implements
ICollectionView<TDataItem>.CanSort
Declaration
bool ICollectionView<TDataItem>.CanSort { get; }
Returns
System.Boolean
|
Implements
ICollectionView<TDataItem>.CurrentItem
Declaration
TDataItem ICollectionView<TDataItem>.CurrentItem { get; }
Returns
TDataItem
|
Implements
ICollectionView<TDataItem>.CurrentPosition
Declaration
int ICollectionView<TDataItem>.CurrentPosition { get; }
Returns
System.Int32
|
Implements
ICollectionView<TDataItem>.Filter
Declaration
Predicate<TDataItem> ICollectionView<TDataItem>.Filter { get; set; }
Returns
System.Predicate<TDataItem>
|
Implements
ICollectionView<TDataItem>.GroupDescriptors
Declaration
GroupDescriptorCollection ICollectionView<TDataItem>.GroupDescriptors { get; }
Returns
GroupDescriptorCollection
|
Implements
ICollectionView<TDataItem>.MoveCurrentTo(TDataItem)
Declaration
bool ICollectionView<TDataItem>.MoveCurrentTo(TDataItem item)
Parameters
TDataItem
item
|
Returns
System.Boolean
|
Implements
ICollectionView<TDataItem>.MoveCurrentToFirst()
Declaration
bool ICollectionView<TDataItem>.MoveCurrentToFirst()
Returns
System.Boolean
|
Implements
ICollectionView<TDataItem>.MoveCurrentToLast()
Declaration
bool ICollectionView<TDataItem>.MoveCurrentToLast()
Returns
System.Boolean
|
Implements
ICollectionView<TDataItem>.MoveCurrentToNext()
Declaration
bool ICollectionView<TDataItem>.MoveCurrentToNext()
Returns
System.Boolean
|
Implements
ICollectionView<TDataItem>.MoveCurrentToPosition(Int32)
Declaration
bool ICollectionView<TDataItem>.MoveCurrentToPosition(int position)
Parameters
System.Int32
position
|
Returns
System.Boolean
|
Implements
ICollectionView<TDataItem>.MoveCurrentToPrevious()
Declaration
bool ICollectionView<TDataItem>.MoveCurrentToPrevious()
Returns
System.Boolean
|
Implements
ICollectionView<TDataItem>.Refresh()
ICollectionView<TDataItem>.SortDescriptors
Declaration
SortDescriptorCollection ICollectionView<TDataItem>.SortDescriptors { get; }
Returns
SortDescriptorCollection
|