Spread Windows Forms 7.0 Product Documentation
AutoSortingColumnEventArgs Constructor(SheetView,Int32,Boolean,Boolean,Boolean,Boolean)
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > AutoSortingColumnEventArgs Class > AutoSortingColumnEventArgs Constructor : AutoSortingColumnEventArgs Constructor(SheetView,Int32,Boolean,Boolean,Boolean,Boolean)


sheetView
Sheet (SheetView object) to be automatically sorted
column
Index of the column to be used as the key for automatic sort
ascending
Whether the automatic sort is ascending
showIndicator
Whether to display the sort indicator
sortFrozenRows
Whether frozen rows sort
sortTrailingFrozenRows
Whether trailing frozen rows sort

Glossary Item Box

Creates a new object with the AutoSortingColumn event arguments.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal sheetView As SheetView, _
   ByVal column As Integer, _
   ByVal ascending As Boolean, _
   ByVal showIndicator As Boolean, _
   ByVal sortFrozenRows As Boolean, _
   ByVal sortTrailingFrozenRows As Boolean _
)
Visual Basic (Usage)Copy Code
Dim sheetView As SheetView
Dim column As Integer
Dim ascending As Boolean
Dim showIndicator As Boolean
Dim sortFrozenRows As Boolean
Dim sortTrailingFrozenRows As Boolean
 
Dim instance As New AutoSortingColumnEventArgs(sheetView, column, ascending, showIndicator, sortFrozenRows, sortTrailingFrozenRows)
C# 
public AutoSortingColumnEventArgs( 
   SheetView sheetView,
   int column,
   bool ascending,
   bool showIndicator,
   bool sortFrozenRows,
   bool sortTrailingFrozenRows
)

Parameters

sheetView
Sheet (SheetView object) to be automatically sorted
column
Index of the column to be used as the key for automatic sort
ascending
Whether the automatic sort is ascending
showIndicator
Whether to display the sort indicator
sortFrozenRows
Whether frozen rows sort
sortTrailingFrozenRows
Whether trailing frozen rows sort

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.