Spread Windows Forms 10.0 Product Documentation
SortingEventArgs Constructor


Sheet (SheetView object) to be sorted
Index of the starting row of the block of cells to sort
Index of the starting column of the block of cells to sort
Number of rows in the block of cells
Number of columns in the block of cells
Array of SortArgs objects that contain the indexes, the sort order, and the sorting type.
The SortingMode setting that specifies the sorting behavior
Whether to sort by rows (or columns)
Creates a new object with the Sorting event arguments.
Syntax
'Declaration
 
Public Function New( _
   ByVal sheetView As SheetView, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer, _
   ByVal sortInfo() As SortArgs, _
   ByVal sortingMode As SortingMode, _
   ByVal byRows As Boolean _
)
'Usage
 
Dim sheetView As SheetView
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
Dim sortInfo() As SortArgs
Dim sortingMode As SortingMode
Dim byRows As Boolean
 
Dim instance As New SortingEventArgs(sheetView, row, column, rowCount, columnCount, sortInfo, sortingMode, byRows)
public SortingEventArgs( 
   SheetView sheetView,
   int row,
   int column,
   int rowCount,
   int columnCount,
   SortArgs[] sortInfo,
   SortingMode sortingMode,
   bool byRows
)

Parameters

sheetView
Sheet (SheetView object) to be sorted
row
Index of the starting row of the block of cells to sort
column
Index of the starting column of the block of cells to sort
rowCount
Number of rows in the block of cells
columnCount
Number of columns in the block of cells
sortInfo
Array of SortArgs objects that contain the indexes, the sort order, and the sorting type.
sortingMode
The SortingMode setting that specifies the sorting behavior
byRows
Whether to sort by rows (or columns)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SortingEventArgs Class
SortingEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.