skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SnapshotCollectionView<TDataItem>

Inheritance
System.Object
SnapshotCollectionView<TDataItem>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
IReadOnlyCollection<T>.Count

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
ICollectionView<T>.GroupComparer

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
ICollectionView<T>.Groups

Indexer

Declaration
protected virtual Index<TDataItem> Indexer { get; }
Property Value
Index<TDataItem>

Item[Int32]

Declaration
public TDataItem this[int index] { get; }
Parameters
System.Int32 index

Property Value
TDataItem

Implements
IReadOnlyCollection<T>.Item[Int32]

SourceCollection

Gets the source collection.

Declaration
public IEnumerable<TDataItem> SourceCollection { get; }
Property Value
System.Collections.Generic.IEnumerable<TDataItem>

The source collection.

Implements
ICollectionView<T>.SourceCollection

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
IReadOnlyCollection<T>.Contains(T)

CopyTo(TDataItem[], Int32)

Declaration
public void CopyTo(TDataItem[] array, int index)
Parameters
TDataItem[] array

System.Int32 index

Implements
IReadOnlyCollection<T>.CopyTo(T[], Int32)

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
System.Collections.Generic.IEnumerable<T>.GetEnumerator()

IndexOf(TDataItem)

Declaration
public int IndexOf(TDataItem value)
Parameters
TDataItem value

Returns
System.Int32

Implements
IReadOnlyCollection<T>.IndexOf(T)

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
ICollectionView<T>.CollectionChanged

CurrentChanged

Declaration
public event EventHandler CurrentChanged
Event Type
System.EventHandler

Implements
ICollectionView<T>.CurrentChanged

CurrentChanging

Declaration
public event CancelEventHandler CurrentChanging
Event Type
System.ComponentModel.CancelEventHandler

Implements
ICollectionView<T>.CurrentChanging

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator

Implements
System.Collections.IEnumerable.GetEnumerator()

ICollectionView<TDataItem>.CanFilter

Declaration
bool ICollectionView<TDataItem>.CanFilter { get; }
Returns
System.Boolean

Implements
ICollectionView<T>.CanFilter

ICollectionView<TDataItem>.CanGroup

Declaration
bool ICollectionView<TDataItem>.CanGroup { get; }
Returns
System.Boolean

Implements
ICollectionView<T>.CanGroup

ICollectionView<TDataItem>.CanSort

Declaration
bool ICollectionView<TDataItem>.CanSort { get; }
Returns
System.Boolean

Implements
ICollectionView<T>.CanSort

ICollectionView<TDataItem>.CurrentItem

Declaration
TDataItem ICollectionView<TDataItem>.CurrentItem { get; }
Returns
TDataItem

Implements
ICollectionView<T>.CurrentItem

ICollectionView<TDataItem>.CurrentPosition

Declaration
int ICollectionView<TDataItem>.CurrentPosition { get; }
Returns
System.Int32

Implements
ICollectionView<T>.CurrentPosition

ICollectionView<TDataItem>.Filter

Declaration
Predicate<TDataItem> ICollectionView<TDataItem>.Filter { get; set; }
Returns
System.Predicate<TDataItem>

Implements
ICollectionView<T>.Filter

ICollectionView<TDataItem>.GroupDescriptors

Declaration
GroupDescriptorCollection ICollectionView<TDataItem>.GroupDescriptors { get; }
Returns
GroupDescriptorCollection

Implements
ICollectionView<T>.GroupDescriptors

ICollectionView<TDataItem>.MoveCurrentTo(TDataItem)

Declaration
bool ICollectionView<TDataItem>.MoveCurrentTo(TDataItem item)
Parameters
TDataItem item

Returns
System.Boolean

Implements
ICollectionView<T>.MoveCurrentTo(T)

ICollectionView<TDataItem>.MoveCurrentToFirst()

Declaration
bool ICollectionView<TDataItem>.MoveCurrentToFirst()
Returns
System.Boolean

Implements
ICollectionView<T>.MoveCurrentToFirst()

ICollectionView<TDataItem>.MoveCurrentToLast()

Declaration
bool ICollectionView<TDataItem>.MoveCurrentToLast()
Returns
System.Boolean

Implements
ICollectionView<T>.MoveCurrentToLast()

ICollectionView<TDataItem>.MoveCurrentToNext()

Declaration
bool ICollectionView<TDataItem>.MoveCurrentToNext()
Returns
System.Boolean

Implements
ICollectionView<T>.MoveCurrentToNext()

ICollectionView<TDataItem>.MoveCurrentToPosition(Int32)

Declaration
bool ICollectionView<TDataItem>.MoveCurrentToPosition(int position)
Parameters
System.Int32 position

Returns
System.Boolean

Implements
ICollectionView<T>.MoveCurrentToPosition(Int32)

ICollectionView<TDataItem>.MoveCurrentToPrevious()

Declaration
bool ICollectionView<TDataItem>.MoveCurrentToPrevious()
Returns
System.Boolean

Implements
ICollectionView<T>.MoveCurrentToPrevious()

ICollectionView<TDataItem>.Refresh()

Declaration
void ICollectionView<TDataItem>.Refresh()
Implements
ICollectionView<T>.Refresh()

ICollectionView<TDataItem>.SortDescriptors

Declaration
SortDescriptorCollection ICollectionView<TDataItem>.SortDescriptors { get; }
Returns
SortDescriptorCollection

Implements
ICollectionView<T>.SortDescriptors

Extension Methods

CommonExtensions.ContainsAny<T>(IEnumerable<T>, IEnumerable<T>)
CommonExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
CommonExtensions.Clone<T>(IEnumerable<T>)
SvgExtentions.Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.