Skip to main content

Appointment.RecurrencePattern Property

Gets the pattern appointment object which is the parent of the current appointment.

Namespace: DevExpress.XtraScheduler

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

#Declaration

[DefaultValue(null)]
public Appointment RecurrencePattern { get; }

#Property Value

Type Default Description
Appointment

null

An Appointment object that is the pattern appointment. Null if the current appointment is standalone.

#Remarks

If an appointment is recurring (see the Appointment.IsRecurring property), it represents an occurrence in the series that is started and defined by a specific pattern appointment. Use the RecurrencePattern property to obtain the pattern of the current appointment. A pattern appointment can be recognized by its Appointment.Type property set to the AppointmentType.Pattern value. The recurrence information defined by the pattern appointment can be accessed via the Appointment.RecurrenceInfo property of an appointment.

NOTE

If the current appointment is standalone, the RecurrencePattern property returns null (Nothing is Visual Basic).

See Also