GrapeCity MultiRow Windows Forms Documentation
SortItem Constructor(String,SortOrder,Boolean)


The name of the cell by which to sort the contents of the GcMultiRow control.
One of the System.Windows.Forms.SortOrder values that indicates the sort order.
true if string comparisons are case-sensitive; otherwise, false.
Initializes a new instance of the SortItem class.
Syntax
Public Function New( _
   ByVal cellName As String, _
   ByVal sortOrder As SortOrder, _
   ByVal caseSensitive As Boolean _
)
Dim cellName As String
Dim sortOrder As SortOrder
Dim caseSensitive As Boolean
 
Dim instance As New SortItem(cellName, sortOrder, caseSensitive)
public SortItem( 
   string cellName,
   SortOrder sortOrder,
   bool caseSensitive
)

Parameters

cellName
The name of the cell by which to sort the contents of the GcMultiRow control.
sortOrder
One of the System.Windows.Forms.SortOrder values that indicates the sort order.
caseSensitive
true if string comparisons are case-sensitive; otherwise, false.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe cellName is a null reference (Nothing in Visual Basic) or String.Empty.
System.ComponentModel.InvalidEnumArgumentExceptionThe sortOrder is not a valid System.Windows.Forms.SortOrder value.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SortItem Class
SortItem Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.