New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class MonthViewEventsComparer

Inheritance: objectMonthViewEventsComparer

Constructors

Initializes a new instance of the DateTimeComparer class.

C#
public MonthViewEventsComparer(RadScheduler scheduler)
Parameters:schedulerRadScheduler

Methods

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

C#
public int Compare(AppointmentElement x, AppointmentElement y)
Parameters:xAppointmentElement

The first object to compare.

yAppointmentElement

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.