Skip to main content
A newer version of this page is available. .

Appointment.Type Property

Gets the type of an appointment.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.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

The following code snippets (auto-collected from DevExpress Examples) contain references to the Type property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also