Extension methods for IAppointment interface.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
C#
public static class AppointmentExtensions
Inheritance: objectAppointmentExtensions
Methods
Gets the occurrences from the given range.
C#
public static IEnumerable<Occurrence> GetOccurences(this IEnumerable<IAppointment> source, IDateSpan span)
Gets occurrences of the appointment. Generate the appointment's occurrences for a given interval.
C#
public static IList<Occurrence> GetOccurrences(this IAppointment appointment, DateTime from, DateTime to)
The appointment.
fromDateTimeFrom date.
toDateTimeTo date.
Returns:Gets the occurrences without exceptions from the given range.
C#
public static IList<Occurrence> GetOccurrencesWithoutExceptionsFromDateTimeRange(this IAppointment appointment, DateTime from, DateTime to)
The appointment.
fromDateTimeFrom.
toDateTimeTo.
Returns:Determines whether the specified appointment is an all-day appointment.
C#
public static bool IsAllDay(this IAppointment appointment)