Orders month-view appointments by effective day count (longer spans first), then by start time and duration. Identical intervals use the scheduler's custom comparer when available, or the appointment summary otherwise.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class MonthViewEventsComparer
Inheritance: objectMonthViewEventsComparer
Constructors
Initializes a comparer that uses the scheduler's custom appointment comparer to break interval ties.
public MonthViewEventsComparer(RadScheduler scheduler)
The scheduler whose optional appointment comparer is used for ties.
Methods
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
public int Compare(AppointmentElement x, AppointmentElement y)
The first object to compare.
yAppointmentElementThe second object to compare.
Returns:Value Condition Less than zerox is less than y.Zerox equals y.Greater than zerox is greater than y.