Class SortDescriptorCollection
Inheritance
Inherited Members
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
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
|
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
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
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
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
SetItem(Int32, SortDescriptor)
Declaration
protected override void SetItem(int index, SortDescriptor item)
Parameters
System.Int32
index
|
SortDescriptor
item
|
Overrides
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
System.String
A System.String that represents this instance. |