ClassDurationComparer
Class
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
cs-api-definition
public class DurationComparer
Inheritance: objectDurationComparer
Constructors
DurationComparer(bool)
Initializes a new instance of the DurationComparer class.
Declaration
cs-api-definition
public DurationComparer(bool descending)
Parameters
descending
if set to true [descending].
Methods
Compare(AppointmentElement, AppointmentElement)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration
cs-api-definition
public int Compare(AppointmentElement x, AppointmentElement y)
Parameters
x
The first object to compare.
y
The second object to compare.
Returns
Value Condition Less than zerox is less than y.Zerox equals y.Greater than zerox is greater than y.