ClassSortChangingEventArgs
Represents event arguments when the sort order is changing.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class SortChangingEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsSortChangingEventArgs
Inherited Members
Constructors
SortChangingEventArgs(SortChangeType)
Initializes a new instance of the SortChangingEventArgs class.
Declaration
public SortChangingEventArgs(SortChangeType sortChangeType)
Parameters
sortChangeType
Type of the sort change.
SortChangingEventArgs(SortChangeType, GridSortField)
Initializes a new instance of the SortChangingEventArgs class.
Declaration
public SortChangingEventArgs(SortChangeType sortChangeType, GridSortField sortExpression)
Parameters
sortChangeType
Type of the sort change.
sortExpression
The sort expression.
SortChangingEventArgs(SortChangeType, GridSortField, GridSortField, int)
Initializes a new instance of the SortChangingEventArgs class.
Declaration
public SortChangingEventArgs(SortChangeType sortChangeType, GridSortField oldSortExpression, GridSortField newSortExpression, int index)
Parameters
sortChangeType
Type of the sort change.
oldSortExpression
The old sort expression.
newSortExpression
The new sort expression.
index
The index.
SortChangingEventArgs(SortChangeType, GridSortField, GridSortField, int, int)
Initializes a new instance of the SortChangingEventArgs class.
Declaration
public SortChangingEventArgs(SortChangeType sortChangeType, GridSortField oldSortExpression, GridSortField newSortExpression, int oldIndex, int newIndex)
Parameters
sortChangeType
Type of the sort change.
oldSortExpression
The old sort expression.
newSortExpression
The new sort expression.
oldIndex
The old index.
newIndex
The new index.
SortChangingEventArgs(SortChangeType, GridSortField, int)
Initializes a new instance of the SortChangingEventArgs class.
Declaration
public SortChangingEventArgs(SortChangeType sortChangeType, GridSortField sortExpression, int index)
Parameters
sortChangeType
Type of the sort change.
sortExpression
The sort expression.
index
The index.
SortChangingEventArgs(SortChangeType, GridSortField, int, int)
Initializes a new instance of the SortChangingEventArgs class.
Declaration
public SortChangingEventArgs(SortChangeType sortChangeType, GridSortField sortExpression, int oldIndex, int newIndex)
Parameters
sortChangeType
Type of the sort change.
sortExpression
The sort expression.
oldIndex
The old index.
newIndex
The new index.
Fields
NewSortExpression
Declaration
public readonly GridSortField NewSortExpression
Field Value
OldSortExpression
Declaration
public readonly GridSortField OldSortExpression
Field Value
SortChangeType
Declaration
public readonly SortChangeType SortChangeType
Field Value
Properties
Index
Gets the index.
IsUpdated
Gets the is updated.
SortExpression
Gets the sort expression.
Declaration
public GridSortField SortExpression { get; }
Property Value
The sort expression.
Methods
BeginItemUpdate()
Begins the item update.
Declaration
public virtual void BeginItemUpdate()
EndItemUpdate(bool)
Resumes event notification.
Declaration
public virtual void EndItemUpdate(bool notifyUpdates)
Parameters
notifyUpdates
EndUpdate(bool)
Resumes event notification.
Declaration
public virtual void EndUpdate(bool notifyUpdates)
Parameters
notifyUpdates
Move(int, int)
// Occurs before an item is added, removed, changed, moved, or the entire list is refreshed. //