A newer version of this page is available. Switch to the current version.

Appointment.Type Property

Gets the type of an appointment.

Namespace: DevExpress.XtraScheduler

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

Declaration

AppointmentType Type { get; }

Property Value

Type Description
AppointmentType

An AppointmentType enumeration value which specifies the appointment's type.

Available values:

Name Description
Normal

Represents a standard (non-recurring) appointment.

Pattern

Represents the appointment which serves as the pattern for the other recurring appointments. The pattern for recurring appointments is specified via the Appointment.RecurrenceInfo property.

Occurrence

Represents a recurring appointment whose pattern appointment is specified via the Appointment.RecurrencePattern property.

ChangedOccurrence

Represents a recurring appointment, which was changed and now doesn't satisfy the pattern of the recurring series.

DeletedOccurrence

Represents a recurring appointment which was deleted from the series of other recurring appointments of the same pattern.

Remarks

Appointment type cannot be changed directly. The type of the appointment is specified by its role (normal, recurring, changed from recurring series (exception), etc.). All available types are listed in the AppointmentType enumeration.

When you map the Appointment.Type property to the data field, use the field of the int type. The AppointmentType members are enumerated as follows:

  • Normal = 0,
  • Pattern = 1,
  • Occurrence = 2,
  • ChangedOccurrence = 3,
  • DeletedOccurrence = 4
See Also