[]
        
(Showing Draft Content)

C1.WPF.GanttView.C1GanttView.SortTasks

SortTasks Method

SortTasks(PropertyDescriptor, ListSortDirection)

Sorts all the tasks by specific property and order direction.

Declaration
public void SortTasks(PropertyDescriptor prop, ListSortDirection direction)
Public Sub SortTasks(prop As PropertyDescriptor, direction As ListSortDirection)
Parameters
Type Name Description
PropertyDescriptor prop

The PropertyDescriptor object.

ListSortDirection direction

The ListSortDirection value.

SortTasks(IComparer<Task>)

Sorts all the tasks by given comparer.

Declaration
public void SortTasks(IComparer<Task> nextComparer)
Public Sub SortTasks(nextComparer As IComparer(Of Task))
Parameters
Type Name Description
IComparer<Task> nextComparer

The IComparer<T> object.