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
Initializes a new instance of the SortChangingEventArgs class.
public SortChangingEventArgs(SortChangeType sortChangeType, GridSortField oldSortExpression, GridSortField newSortExpression, int oldIndex, int newIndex)
Type of the sort change.
oldSortExpressionGridSortFieldThe old sort expression.
newSortExpressionGridSortFieldThe new sort expression.
oldIndexintThe old index.
newIndexintThe new index.
Initializes a new instance of the SortChangingEventArgs class.
public SortChangingEventArgs(SortChangeType sortChangeType, GridSortField oldSortExpression, GridSortField newSortExpression, int index)
Type of the sort change.
oldSortExpressionGridSortFieldThe old sort expression.
newSortExpressionGridSortFieldThe new sort expression.
indexintThe index.
Initializes a new instance of the SortChangingEventArgs class.
public SortChangingEventArgs(SortChangeType sortChangeType, GridSortField sortExpression, int oldIndex, int newIndex)
Type of the sort change.
sortExpressionGridSortFieldThe sort expression.
oldIndexintThe old index.
newIndexintThe new index.
Initializes a new instance of the SortChangingEventArgs class.
public SortChangingEventArgs(SortChangeType sortChangeType, GridSortField sortExpression, int index)
Type of the sort change.
sortExpressionGridSortFieldThe sort expression.
indexintThe index.
Initializes a new instance of the SortChangingEventArgs class.
public SortChangingEventArgs(SortChangeType sortChangeType, GridSortField sortExpression)
Type of the sort change.
sortExpressionGridSortFieldThe sort expression.
Initializes a new instance of the SortChangingEventArgs class.
public SortChangingEventArgs(SortChangeType sortChangeType)
Type of the sort change.
Fields
public readonly GridSortField NewSortExpression
public readonly GridSortField OldSortExpression
public readonly SortChangeType SortChangeType
Properties
Gets the sort expression.
public GridSortField SortExpression { get; }
The sort expression.
Methods
Begins the item update.
public virtual void BeginItemUpdate()
Begins the update.
public virtual void BeginUpdate()
Ends the item update.
public void EndItemUpdate()
Resumes event notification.
Ends the update.
public void EndUpdate()
Resumes event notification.