Infragistics2.Win.UltraWinListView.v8.1
Sort(Sorting) Method
See Also 
Infragistics.Win.UltraWinListView Namespace > UltraListViewGroupsCollection Class > Sort Method : Sort(Sorting) Method

sortOrder
The Sorting constant which determines the sort order, i.e., ascending or descending.
Sorts this UltraListViewGroupsCollection based on the specified sortOrder.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Sort( _
   ByVal sortOrder As Sorting _
) 
C# 
public void Sort( 
   Sorting sortOrder
)

Parameters

sortOrder
The Sorting constant which determines the sort order, i.e., ascending or descending.

Remarks

The collection is sorted based on the value of each UltraListViewGroup instance's Text property.


The Sort method is overloaded so that the caller can specify a custom IComparer implementation which determines the sort order for the groups.

See Also