[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SortingEventArgs.-ctor

SortingEventArgs Constructor

SortingEventArgs(SheetView, int, int, int, int, SortArgs[], SortingMode, bool)

Creates a new object with the Sorting event arguments.

Declaration
public SortingEventArgs(SheetView sheetView, int row, int column, int rowCount, int columnCount, SortArgs[] sortInfo, SortingMode sortingMode, bool byRows)
Public Sub New(sheetView As SheetView, row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, sortInfo As SortArgs(), sortingMode As SortingMode, byRows As Boolean)
Parameters
Type Name Description
SheetView sheetView

Sheet (SheetView object) to be sorted

int row

Index of the starting row of the block of cells to sort

int column

Index of the starting column of the block of cells to sort

int rowCount

Number of rows in the block of cells

int columnCount

Number of columns in the block of cells

SortArgs[] sortInfo

Array of SortArgs objects that contain the indexes, the sort order, and the sorting type.

SortingMode sortingMode

The SortingMode setting that specifies the sorting behavior

bool byRows

Whether to sort by rows (or columns)