[]
        
(Showing Draft Content)

C1.Win.C1GanttView.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)
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> comparer)
Parameters
Type Name Description
IComparer<Task> comparer

The IComparer<T> object.