Class
AppointmentExtensions

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

IEnumerable<IAppointment>

span

IDateSpan

Returns

IEnumerable<Occurrence>

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

IAppointment

The appointment.

from

DateTime

From date.

to

DateTime

To date.

Returns

IList<Occurrence>

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

IAppointment

The appointment.

from

DateTime

From.

to

DateTime

To.

Returns

IList<Occurrence>

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

IAppointment

Returns

bool