ClassDateTimeComparer
Class
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
cs-api-definition
public class DateTimeComparer
Inheritance: objectDateTimeComparer
Constructors
DateTimeComparer(RadScheduler)
Declaration
cs-api-definition
public DateTimeComparer(RadScheduler scheduler)
Parameters
scheduler
DateTimeComparer(RadScheduler, bool)
Declaration
cs-api-definition
public DateTimeComparer(RadScheduler scheduler, bool descending)
Parameters
scheduler
descending
DateTimeComparer(bool)
Initializes a new instance of the DateTimeComparer class.
Declaration
cs-api-definition
public DateTimeComparer(bool descending)
Parameters
descending
if set to true [descending].
Fields
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.