The event handler receives an argument of type SortingEventArgs containing data related to this event. The following SortingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ByRows | Gets whether to sort by rows (or columns). |
Cancel | Gets or sets whether to cancel the default processing of sorting. |
Column | Gets the index of the starting column of the block of cells to sort. |
ColumnCount | Gets the number of columns in the block of cells to sort. |
Row | Gets the index of the starting row of the block of cells to sort. |
RowCount | Gets the number of rows in the block of cells to sort. |
SheetView | Gets the Sheet (SheetView object) to be sorted. |
SortInfo | Gets the SortArgs objects that contain sort criteria and information about how to perform the sort. |
SortingMode | Gets the SortingMode setting that specifies the sorting behavior. |