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


The name of the cell by which to sort the contents of the GcMultiRowcontrol.
One of the System.Windows.Forms.SortOrder values that indicates the sort order.
An implementation of System.Collections.IComparer that performs the custom sorting operation.
Initializes a new instance of the SortItem class.
Syntax
Public Function New( _
   ByVal cellName As String, _
   ByVal sortOrder As SortOrder, _
   ByVal comparer As IComparer _
)
Dim cellName As String
Dim sortOrder As SortOrder
Dim comparer As IComparer
 
Dim instance As New SortItem(cellName, sortOrder, comparer)
public SortItem( 
   string cellName,
   SortOrder sortOrder,
   IComparer comparer
)

Parameters

cellName
The name of the cell by which to sort the contents of the GcMultiRowcontrol.
sortOrder
One of the System.Windows.Forms.SortOrder values that indicates the sort order.
comparer
An implementation of System.Collections.IComparer that performs the custom sorting operation.
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.