Appointment
Represents a concrete implementation of an appointment in the scheduler, extending the base Event class. Provides functionality for creating, managing, and manipulating calendar appointments with support for recurring patterns, exceptions, and various appointment properties such as status, location, and time ranges.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class Appointment : Event, IEvent, IDataBoundItem, IRemindObject, INotifyPropertyChanged
Inheritance: objectEventAppointment
Implements:
Inherited Members
Constructors
Initializes a new instance of the Appointment class.
public Appointment()
Initializes a new instance of the Appointment class.
public Appointment(DateTime start, DateTime end, string summary, string description, string location)
The start of the new appointment.
endDateTimeThe end of the new appointment.
summarystringThe summary of the new appointment.
descriptionstringThe description of the new appointment.
locationstringThe location of the new appointment.
Initializes a new instance of the Appointment class.
Initializes a new instance of the Appointment class.
Initializes a new instance of the Appointment class.
Initializes a new instance of the Appointment class.
public Appointment(DateTime start, TimeSpan duration, string summary, string description, string location)
The start of the new appointment.
durationTimeSpanThe duration of the new appointment.
summarystringThe summary of the new appointment.
descriptionstringThe description of the new appointment.
locationstringThe location of the new appointment.
Initializes a new instance of the Appointment class.
public Appointment(DateTime start, TimeSpan duration, string summary, string description)
The start of the new appointment.
durationTimeSpanThe duration of the new appointment.
summarystringThe summary of the new appointment.
descriptionstringThe description of the new appointment.
Initializes a new instance of the Appointment class.
Initializes a new instance of the Appointment class.
Properties
Gets a value indicating whether this appointment has exception occurrences or exception dates defined in its recurrence rule.
public virtual bool HasExceptions { get; }
Gets a value indicating whether this appointment instance has recurring occurrences based on its recurrence rule.
public virtual bool HasOccurrences { get; }
Methods
Creates a new instance of an Appointment to represent an occurrence of this recurring appointment. This method is called internally when generating individual occurrences from a recurring appointment pattern.
protected override Event CreateOccurrenceInstance()
A new Appointment instance configured as an occurrence.
Overrides:
Returns a string representation of the appointment containing its summary and time range information. The format includes the appointment summary followed by the start and end times in parentheses.
public override string ToString()
A formatted string containing the appointment's summary, start time, and end time.
Overrides: