[]
        
(Showing Draft Content)

C1.GanttView.TaskComparer

TaskComparer Class

This class is a task comparer for sorting.

Inheritance
TaskComparer
Implements
Namespace: C1.GanttView
Assembly: C1.WPF.GanttView.dll
Syntax
public class TaskComparer : IComparer<Task>

Constructors

Name Description
TaskComparer()

Initializes a new instance of TaskComparer class.

TaskComparer(PropertyDescriptor, ListSortDirection)

Initializes a new instance of TaskComparer class with property comparer info.

Properties

Name Description
Properties

Gets the collection of PropertyComparerInfo object.

Methods

Name Description
AddPropertyComparerInfo(PropertyDescriptor, ListSortDirection)

Add a new instance of PropertyComparerInfo class.

Compare(Task, Task)

Compares two tasks and returns a value indicating whether one is less than, equal to, or greater than the other.