ComponentOne GanttView for WinForms
Sort(PropertyDescriptor,ListSortDirection) Method

C1.Win.C1GanttView.4 Assembly > C1.Win.C1GanttView Namespace > TaskCollection Class : Sort(PropertyDescriptor,ListSortDirection) Method
A System.ComponentModel.PropertyDescriptor that specifies the property to sort on.
One of the System.ComponentModel.ListSortDirection values.
Sorts the tasks.
Syntax
'Declaration
 
Public Sub Sort( _
   ByVal prop As System.ComponentModel.PropertyDescriptor, _
   ByVal direction As System.ComponentModel.ListSortDirection _
) 
public void Sort( 
   System.ComponentModel.PropertyDescriptor prop,
   System.ComponentModel.ListSortDirection direction
)

Parameters

prop
A System.ComponentModel.PropertyDescriptor that specifies the property to sort on.
direction
One of the System.ComponentModel.ListSortDirection values.
See Also

Reference

TaskCollection Class
TaskCollection Members