Skip to main content

Appointment Class

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v14.2.Core.dll

#Declaration

public class Appointment :
    PersistentObject

#Remarks

Appointment objects are stored in the AppointmentStorage.Items collection.

DXScheduler_Appointments_DayView

The Appointment.Subject, Appointment.Location and Appointment.Description properties allow the appointment's subject text, location text (which identifies where the appointment is going to be) and the appointment's description to be specified.

The Appointment.Start and Appointment.End (or Appointment.Duration) properties allow the start and end times to be specified. Use the Appointment.AllDay property to specify whether the appointment should last an entire day (or several entire days). If this property is set to true the real time values of the Appointment.Start and Appointment.End properties are ignored.

The Appointment.Type property specifies the appointment's type. If the current appointment is recurring, the Appointment.RecurrenceInfo property provides access to all recurrence attributes.

An appointment can be associated with a resource. Resources are used to group schedules and facilitate the task of managing user time. To associate an appointment with a resource, the Appointment.ResourceId property should be set to a value specified by the required resource's Resource.Id property.

Appointments can be associated with reminders that are used to provide a notification of a future appointment. Use the Appointment.HasReminder property for this purpose. If the appointment has a reminder, the DXScheduler_ReminderIcon image is displayed. To access the reminder's settings use the Appointment.Reminder property.

For more information on appointments, see the Appointments topic.

#Inheritance

See Also