Class SortDescriptor
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Data
Assembly: Telerik.WinControls.dll
Syntax
public class SortDescriptor : INotifyPropertyChanged, INotifyPropertyChangingEx, ICloneable
Constructors
SortDescriptor()
Declaration
public SortDescriptor()
SortDescriptor(String, ListSortDirection)
Declaration
public SortDescriptor(string propertyName, ListSortDirection direction)
Parameters
System.
|
System.
|
SortDescriptor(String, ListSortDirection, SortDescriptorCollection)
Declaration
public SortDescriptor(string propertyName, ListSortDirection direction, SortDescriptorCollection owner)
Parameters
System.
|
System.
|
Sort
|
Properties
Direction
Gets or sets the direction.
Declaration
public ListSortDirection Direction { get; set; }
Property Value
System. The direction. |
Owner
Gets or sets the owner.
Declaration
public SortDescriptorCollection Owner { get; }
Property Value
Sort The owner. |
PropertyIndex
Declaration
public int PropertyIndex { get; }
Property Value
System.
|
PropertyName
Gets or sets the name of the property.
Declaration
public string PropertyName { get; set; }
Property Value
System. The name of the property. |
Methods
Clone()
Declaration
public virtual object Clone()
Returns
System.
|
Implements
OnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event
Declaration
protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
System. A System. |
OnPropertyChanged(String)
Raises the PropertyChanged event
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
System. The name of the property |
OnPropertyChanging(String, Object, Object)
Raises the Property
Declaration
protected virtual bool OnPropertyChanging(string propertyName, object oldValue, object newValue)
Parameters
System. Name of the property. |
System. The old value. |
System. The new value. |
Returns
System. Returns [TRUE] If the events is not canceled, otherwise [FALSE]. |
OnPropertyChanging(PropertyChangingEventArgsEx)
Raises the Property
Declaration
protected virtual void OnPropertyChanging(PropertyChangingEventArgsEx e)
Parameters
Property The System. |
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.
|
PropertyChanging
Declaration
public event PropertyChangingEventHandlerEx PropertyChanging