ComponentOne GanttView for WinForms
C1.Win.GanttView.8 Assembly / C1.Win.GanttView Namespace / TaskCollection Class / Sort Method
A System.ComponentModel.PropertyDescriptor that specifies the property to sort on.
One of the System.ComponentModel.ListSortDirection values.

In This Topic
    Sort Method (TaskCollection)
    In This Topic
    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