Class DateTimeComparer
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class DateTimeComparer : IComparer<AppointmentElement>
Constructors
DateTimeComparer(Boolean)
Initializes a new instance of the DateTimeComparer class.
Declaration
public DateTimeComparer(bool descending)
Parameters
System.Boolean
descending
if set to |
DateTimeComparer(RadScheduler)
DateTimeComparer(RadScheduler, Boolean)
Declaration
public DateTimeComparer(RadScheduler scheduler, bool descending)
Parameters
RadScheduler
scheduler
|
System.Boolean
descending
|
Fields
compareByEndValue
Declaration
public bool compareByEndValue
Field Value
System.Boolean
|
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
public int Compare(AppointmentElement x, AppointmentElement y)
Parameters
AppointmentElement
x
The first object to compare. |
AppointmentElement
y
The second object to compare. |
Returns
System.Int32
Value Condition Less than zero |