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.String
propertyName
|
System.ComponentModel.ListSortDirection
direction
|
SortDescriptor(String, ListSortDirection, SortDescriptorCollection)
Declaration
public SortDescriptor(string propertyName, ListSortDirection direction, SortDescriptorCollection owner)
Parameters
System.String
propertyName
|
System.ComponentModel.ListSortDirection
direction
|
SortDescriptorCollection
owner
|
Properties
Direction
Gets or sets the direction.
Declaration
public ListSortDirection Direction { get; set; }
Property Value
System.ComponentModel.ListSortDirection
The direction. |
Owner
Gets or sets the owner.
Declaration
public SortDescriptorCollection Owner { get; }
Property Value
SortDescriptorCollection
The owner. |
PropertyIndex
Declaration
public int PropertyIndex { get; }
Property Value
System.Int32
|
PropertyName
Gets or sets the name of the property.
Declaration
public string PropertyName { get; set; }
Property Value
System.String
The name of the property. |
Methods
Clone()
Declaration
public virtual object Clone()
Returns
System.Object
|
Implements
OnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event
Declaration
protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
A System.ComponentModel.PropertyChangedEventArgs instance containing event data. |
OnPropertyChanged(String)
Raises the PropertyChanged event
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
The name of the property |
OnPropertyChanging(String, Object, Object)
Raises the PropertyChanging event.
Declaration
protected virtual bool OnPropertyChanging(string propertyName, object oldValue, object newValue)
Parameters
System.String
propertyName
Name of the property. |
System.Object
oldValue
The old value. |
System.Object
newValue
The new value. |
Returns
System.Boolean
Returns [TRUE] If the events is not canceled, otherwise [FALSE]. |
OnPropertyChanging(PropertyChangingEventArgsEx)
Raises the PropertyChanging event.
Declaration
protected virtual void OnPropertyChanging(PropertyChangingEventArgsEx e)
Parameters
PropertyChangingEventArgsEx
e
The System.ComponentModel.PropertyChangingEventArgs instance containing the event data. |
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|
PropertyChanging
Declaration
public event PropertyChangingEventHandlerEx PropertyChanging
Event Type
PropertyChangingEventHandlerEx
|