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 SortDescriptorCollection

Inheritance
System.Object
System.Collections.ObjectModel.Collection<SortDescriptor>
NotifyCollection<SortDescriptor>
SortDescriptorCollection
GridViewSortDescriptorCollection
Inherited Members
NotifyCollection<SortDescriptor>.Empty
NotifyCollection<SortDescriptor>.Move(Int32, Int32)
NotifyCollection<SortDescriptor>.AddRange(SortDescriptor[])
NotifyCollection<SortDescriptor>.AddRange(IEnumerable<SortDescriptor>)
NotifyCollection<SortDescriptor>.BeginUpdate()
NotifyCollection<SortDescriptor>.EndUpdate()
NotifyCollection<SortDescriptor>.EndUpdate(Boolean)
NotifyCollection<SortDescriptor>.DeferRefresh()
NotifyCollection<SortDescriptor>.MoveItem(Int32, Int32)
NotifyCollection<SortDescriptor>.CreateEventArguments(NotifyCollectionChangedAction)
NotifyCollection<SortDescriptor>.OnCollectionChanged(NotifyCollectionChangedEventArgs)
NotifyCollection<SortDescriptor>.OnPropertyChanged(PropertyChangedEventArgs)
NotifyCollection<SortDescriptor>.OnPropertyChanged(String)
NotifyCollection<SortDescriptor>.Version
NotifyCollection<SortDescriptor>.Suspended
NotifyCollection<SortDescriptor>.CollectionChanged
NotifyCollection<SortDescriptor>.PropertyChanged
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.Add(Telerik.WinControls.Data.SortDescriptor)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.Clear()
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.CopyTo(Telerik.WinControls.Data.SortDescriptor[], System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.Contains(Telerik.WinControls.Data.SortDescriptor)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.IndexOf(Telerik.WinControls.Data.SortDescriptor)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.Insert(System.Int32, Telerik.WinControls.Data.SortDescriptor)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.Remove(Telerik.WinControls.Data.SortDescriptor)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.Count
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.Items
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.Generic.ICollection<Telerik.WinControls.Data.SortDescriptor>.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.SortDescriptor>.System.Collections.IList.IsFixedSize
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 SortDescriptorCollection : NotifyCollection<SortDescriptor>, IList<SortDescriptor>, ICollection<SortDescriptor>, IList, ICollection, IReadOnlyList<SortDescriptor>, IReadOnlyCollection<SortDescriptor>, IEnumerable<SortDescriptor>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Constructors

SortDescriptorCollection()

Declaration
public SortDescriptorCollection()

Properties

Expression

Gets or sets the expression.

Declaration
public virtual string Expression { get; set; }
Property Value
System.String

The expression.

UseCaseSensitiveFieldNames

Gets or sets a value indicating whether fields with names that differ only in the casing should be considered different.

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

Methods

Add(String, ListSortDirection)

Adds the specified property name.

Declaration
public void Add(string propertyName, ListSortDirection direction)
Parameters
System.String propertyName

Name of the property.

System.ComponentModel.ListSortDirection direction

The direction.

ClearItems()

Declaration
protected override void ClearItems()
Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.SortDescriptor>.ClearItems()

Contains(String)

Determines whether [contains] [the specified property name].

Declaration
public bool Contains(string propertyName)
Parameters
System.String propertyName

Name of the property.

Returns
System.Boolean

true if [contains] [the specified property name]; otherwise, false.

CreateEventArguments(NotifyCollectionChangedAction, Object, Int32)

Declaration
protected override NotifyCollectionChangedEventArgs CreateEventArguments(NotifyCollectionChangedAction action, object item, int index)
Parameters
NotifyCollectionChangedAction action

System.Object item

System.Int32 index

Returns
NotifyCollectionChangedEventArgs

Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.SortDescriptor>.CreateEventArguments(Telerik.WinControls.Data.NotifyCollectionChangedAction, System.Object, System.Int32)

CreateEventArguments(NotifyCollectionChangedAction, Object, Object, Int32)

Declaration
protected override NotifyCollectionChangedEventArgs CreateEventArguments(NotifyCollectionChangedAction action, object oldItem, object item, int index)
Parameters
NotifyCollectionChangedAction action

System.Object oldItem

System.Object item

System.Int32 index

Returns
NotifyCollectionChangedEventArgs

Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.SortDescriptor>.CreateEventArguments(Telerik.WinControls.Data.NotifyCollectionChangedAction, System.Object, System.Object, System.Int32)

IndexOf(String)

Indexes the of.

Declaration
public int IndexOf(string propertyName)
Parameters
System.String propertyName

Name of the property.

Returns
System.Int32

InsertItem(Int32, SortDescriptor)

Declaration
protected override void InsertItem(int index, SortDescriptor item)
Parameters
System.Int32 index

SortDescriptor item

Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.SortDescriptor>.InsertItem(System.Int32, Telerik.WinControls.Data.SortDescriptor)

Remove(String)

Removes the specified property name.

Declaration
public bool Remove(string propertyName)
Parameters
System.String propertyName

Name of the property.

Returns
System.Boolean

RemoveItem(Int32)

Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32 index

Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.SortDescriptor>.RemoveItem(System.Int32)

SetItem(Int32, SortDescriptor)

Declaration
protected override void SetItem(int index, SortDescriptor item)
Parameters
System.Int32 index

SortDescriptor item

Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.SortDescriptor>.SetItem(System.Int32, Telerik.WinControls.Data.SortDescriptor)

ToString()

Returns a System.String that represents this instance.

Declaration
public override string ToString()
Returns
System.String

A System.String that represents this instance.

Overrides
System.Object.ToString()

Extension Methods

SvgExtentions.Traverse<T>(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.