GanttView for WPF | ComponentOne
C1.WPF.GanttView.4.6.2 Assembly / C1.GanttView 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.

In This Topic
    Sort(PropertyDescriptor,ListSortDirection) Method
    In This Topic
    Sorts the tasks.
    Syntax
    'Declaration
     
    Public Sub Sort( _
       ByVal prop As PropertyDescriptor, _
       ByVal direction As ListSortDirection _
    ) 
    public void Sort( 
       PropertyDescriptor prop,
       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