FlexGrid for WinForms
Sort(IComparer) Method



An object that implements the System.Collections.IComparer interface used to compare Row objects. This can be used to provide custom sorting.
Sorts this node's child nodes using a given System.Collections.IComparer object to determine the node order.
Syntax
'Declaration
 
Public Overloads Sub Sort( _
   ByVal comparer As IComparer _
) 
'Usage
 
Dim instance As Node
Dim comparer As IComparer
 
instance.Sort(comparer)
public void Sort( 
   IComparer comparer
)
public:
void Sort( 
   IComparer^ comparer
) 

Parameters

comparer
An object that implements the System.Collections.IComparer interface used to compare Row objects. This can be used to provide custom sorting.
Remarks

The grid recognizes two types of row: regular rows which contain data, and node rows which are used to group data. This method only sorts the row nodes; it does not reorder the data rows within each node.

To sort the data rows, use the grid's Sort(SortFlags,Int32) method instead.

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

Node Class
Node Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback