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


The index 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.
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 cellIndex As Integer, _
   ByVal sortOrder As SortOrder, _
   ByVal comparer As IComparer _
)
Dim cellIndex As Integer
Dim sortOrder As SortOrder
Dim comparer As IComparer
 
Dim instance As New SortItem(cellIndex, sortOrder, comparer)
public SortItem( 
   int cellIndex,
   SortOrder sortOrder,
   IComparer comparer
)

Parameters

cellIndex
The index 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.
comparer
An implementation of System.Collections.IComparer that performs the custom sorting operation.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionThe cellIndex is less than 0.
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.