ClassSortDescriptorCollection
Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.dll
Syntax:
public class SortDescriptorCollection : NotifyCollection<SortDescriptor>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Inheritance: objectCollection<SortDescriptor>NotifyCollection<SortDescriptor>SortDescriptorCollection
Derived Classes:
Implements:
Inherited Members
Constructors
SortDescriptorCollection()
Declaration
public SortDescriptorCollection()
Properties
Expression
Gets or sets the expression.
Declaration
public virtual string Expression { get; set; }
Property Value
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
Methods
Add(string, ListSortDirection)
Adds the specified property name.
Declaration
public void Add(string propertyName, ListSortDirection direction)
Parameters
propertyName
Name of the property.
direction
The direction.
ClearItems()
Declaration
protected override void ClearItems()
Overrides
Contains(string)
Determines whether [contains] [the specified property name].
CreateEventArguments(NotifyCollectionChangedAction, object, int)
Declaration
protected override NotifyCollectionChangedEventArgs CreateEventArguments(NotifyCollectionChangedAction action, object item, int index)
Parameters
action
item
index
Returns
Overrides
CreateEventArguments(NotifyCollectionChangedAction, object, object, int)
Declaration
protected override NotifyCollectionChangedEventArgs CreateEventArguments(NotifyCollectionChangedAction action, object oldItem, object item, int index)
Parameters
action
oldItem
item
index
Returns
Overrides
IndexOf(string)
Indexes the of.
InsertItem(int, SortDescriptor)
Declaration
protected override void InsertItem(int index, SortDescriptor item)
Parameters
index
item
Overrides
Remove(string)
Removes the specified property name.
RemoveItem(int)
Declaration
protected override void RemoveItem(int index)
Parameters
index
Overrides
SetItem(int, SortDescriptor)
Declaration
protected override void SetItem(int index, SortDescriptor item)
Parameters
index
item
Overrides
ToString()
Returns a string that represents this instance.