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 ReplySortedCollection

Represents a strongly typed list of SpreadsheetCommentReply objects that can be accessed by index and are sorted by Creation date. Provides methods to search, sort, and manipulate lists.

Inheritance
System.Object
ReplySortedCollection
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.Windows.Documents.Spreadsheet.Model.Comments
Assembly: Telerik.Windows.Documents.Spreadsheet.dll

Syntax

public class ReplySortedCollection : IList<SpreadsheetCommentReply>, ICollection<SpreadsheetCommentReply>, IEnumerable<SpreadsheetCommentReply>, IEnumerable

Properties

Count

Gets the number of elements actually contained in the ReplySortedCollection.

Declaration
public int Count { get; }
Property Value
System.Int32

Implements
System.Collections.Generic.ICollection<T>.Count

IsReadOnly

Gets a boolean value indicating whether the field is readonly.

Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean

Implements
System.Collections.Generic.ICollection<T>.IsReadOnly

Item[Int32]

Gets or sets the element at the specified index.

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

Property Value
SpreadsheetCommentReply

The element at the specified index.

Implements
System.Collections.Generic.IList<T>.Item[System.Int32]

Methods

Add(SpreadsheetCommentReply)

Adds a SpreadsheetCommentReply to the ReplySortedCollection. The collection will be re-sorted by SpreadsheetReply`s CreationDate in ascending order after adding an object.

Declaration
public void Add(SpreadsheetCommentReply item)
Parameters
SpreadsheetCommentReply item

The object to be added to the ReplySortedCollection.

Implements
System.Collections.Generic.ICollection<T>.Add(T)

Clear()

Removes all elements from the ReplySortedCollection.

Declaration
public void Clear()
Implements
System.Collections.Generic.ICollection<T>.Clear()

Contains(SpreadsheetCommentReply)

Determines whether an element is in the ReplySortedCollection.

Declaration
public bool Contains(SpreadsheetCommentReply item)
Parameters
SpreadsheetCommentReply item

The object to locate in ReplySortedCollection.

Returns
System.Boolean

true if item is found in the ReplySortedCollection; otherwise, false.

Implements
System.Collections.Generic.ICollection<T>.Contains(T)

CopyTo(SpreadsheetCommentReply[], Int32)

Copies the entire ReplySortedCollection to a compatible one-dimensional array, starting at the specified index of the target array.

Declaration
public void CopyTo(SpreadsheetCommentReply[] array, int arrayIndex)
Parameters
SpreadsheetCommentReply[] array

The one-dimensional System.Array that is the destination of the elements copied from ReplySortedCollection. The System.Array must have zero-based indexing.

System.Int32 arrayIndex

The zero-based index in array at which copying begins.

Implements
System.Collections.Generic.ICollection<T>.CopyTo(T[], System.Int32)

GetEnumerator()

Returns an enumerator that iterates through the ReplySortedCollection.

Declaration
public IEnumerator<SpreadsheetCommentReply> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<SpreadsheetCommentReply>

Implements
System.Collections.Generic.IEnumerable<T>.GetEnumerator()

IndexOf(SpreadsheetCommentReply)

Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReplySortedCollection.

Declaration
public int IndexOf(SpreadsheetCommentReply item)
Parameters
SpreadsheetCommentReply item

The object to locate in the ReplySortedCollection. The value can be null for reference types.

Returns
System.Int32

The zero-based index of the first occurrence of item within the entire ReplySortedCollection, if found; otherwise, –1

Implements
System.Collections.Generic.IList<T>.IndexOf(T)

OnChanged(ReplySortedCollectionChangedEventArgs)

Raises the Changed event.

Declaration
protected virtual void OnChanged(ReplySortedCollectionChangedEventArgs args)
Parameters
ReplySortedCollectionChangedEventArgs args

The ReplySortedCollectionChangedEventArgs instance containing the event data.

OnChanging(ReplySortedCollectionChangingEventArgs)

Raises the Changing event.

Declaration
protected virtual void OnChanging(ReplySortedCollectionChangingEventArgs args)
Parameters
ReplySortedCollectionChangingEventArgs args

The ReplySortedCollectionChangingEventArgs instance containing the event data.

Remove(SpreadsheetCommentReply)

Removes the first occurrence of a specific object from the ReplySortedCollection.

Declaration
public bool Remove(SpreadsheetCommentReply item)
Parameters
SpreadsheetCommentReply item

The object to remove from the ReplySortedCollection.

Returns
System.Boolean

Implements
System.Collections.Generic.ICollection<T>.Remove(T)

RemoveAt(Int32)

Removes the element at the specified index of the ReplySortedCollection.

Declaration
public void RemoveAt(int index)
Parameters
System.Int32 index

The zero-based index of the element to remove.

Implements
System.Collections.Generic.IList<T>.RemoveAt(System.Int32)

Events

Changed

Occurs when the collection has changed.

Declaration
public event EventHandler<ReplySortedCollectionChangedEventArgs> Changed
Event Type
System.EventHandler<ReplySortedCollectionChangedEventArgs>

Changing

Occurs when the collection is changing.

Declaration
public event EventHandler<ReplySortedCollectionChangingEventArgs> Changing
Event Type
System.EventHandler<ReplySortedCollectionChangingEventArgs>

Explicit Interface Implementations

IList<SpreadsheetCommentReply>.Insert(Int32, SpreadsheetCommentReply)

Declaration
void IList<SpreadsheetCommentReply>.Insert(int index, SpreadsheetCommentReply item)
Parameters
System.Int32 index

SpreadsheetCommentReply item

Implements
System.Collections.Generic.IList<T>.Insert(System.Int32, T)

IEnumerable.GetEnumerator()

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

Implements
System.Collections.IEnumerable.GetEnumerator()

Extension Methods

CommonExtensions.AddRange<T>(ICollection<T>, IEnumerable<T>)
CommonExtensions.ContainsAny<T>(IEnumerable<T>, IEnumerable<T>)
CommonExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
CommonExtensions.RemoveLast<T>(IList<T>)
CommonExtensions.EnsureListCountAtLeast<T>(IList<T>, Int32, Func<T>)
CommonExtensions.EnsureListCount<T>(IList<T>, Int32, Func<T>)
CommonExtensions.Clone<T>(IEnumerable<T>)
ExtensionMethodsEditor.CastCovariant<TFrom, TTo>(IEnumerable<TFrom>)
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.