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