Class
DateTimeComparer

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

RadScheduler

DateTimeComparer(RadScheduler, bool)

Declaration

cs-api-definition
public DateTimeComparer(RadScheduler scheduler, bool descending)

Parameters

scheduler

RadScheduler

descending

bool

DateTimeComparer(bool)

Initializes a new instance of the DateTimeComparer class.

Declaration

cs-api-definition
public DateTimeComparer(bool descending)

Parameters

descending

bool

if set to true [descending].

Fields

compareByEndValue

Declaration

cs-api-definition
public bool compareByEndValue

Field Value

bool

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

AppointmentElement

The first object to compare.

y

AppointmentElement

The second object to compare.

Returns

int

Value Condition Less than zerox is less than y.Zerox equals y.Greater than zerox is greater than y.