Class SortDescriptorCollection
Inheritance
System.Object
SortDescriptorCollection
Inherited Members
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()
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
Declaration
public SortDescriptorCollection()
Properties
Gets or sets the expression.
Declaration
public virtual string Expression { get; set; }
Property Value
System.String
The expression.
|
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
Methods
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.
|
Declaration
protected override void ClearItems()
Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.SortDescriptor>.ClearItems()
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 .
|
Declaration
protected override NotifyCollectionChangedEventArgs CreateEventArguments(NotifyCollectionChangedAction action, object item, int index)
Parameters
Returns
Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.SortDescriptor>.CreateEventArguments(Telerik.WinControls.Data.NotifyCollectionChangedAction, System.Object, System.Int32)
Declaration
protected override NotifyCollectionChangedEventArgs CreateEventArguments(NotifyCollectionChangedAction action, object oldItem, object item, int index)
Parameters
Returns
Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.SortDescriptor>.CreateEventArguments(Telerik.WinControls.Data.NotifyCollectionChangedAction, System.Object, System.Object, System.Int32)
Declaration
public int IndexOf(string propertyName)
Parameters
System.String
propertyName
Name of the property.
|
Returns
Declaration
protected override void InsertItem(int index, SortDescriptor item)
Parameters
Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.SortDescriptor>.InsertItem(System.Int32, Telerik.WinControls.Data.SortDescriptor)
Removes the specified property name.
Declaration
public bool Remove(string propertyName)
Parameters
System.String
propertyName
Name of the property.
|
Returns
Declaration
protected override void RemoveItem(int index)
Parameters
Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.SortDescriptor>.RemoveItem(System.Int32)
Declaration
protected override void SetItem(int index, SortDescriptor item)
Parameters
Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.SortDescriptor>.SetItem(System.Int32, Telerik.WinControls.Data.SortDescriptor)
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