Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxSchedulerAppointmentItem.Type Property

Specifies the type of an appointment.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public SchedulerAppointmentType Type { get; set; }

#Property Value

Type Description
SchedulerAppointmentType

A SchedulerAppointmentType enumeration member.

Available values:

Name Description Value
OneTime

One-time appointment.

0

Pattern

Appointment that serves as the pattern for other recurring appointments.

1

Occurrence

Recurring appointment that conforms to the series pattern.

2

ChangedOccurrence

Recurring appointment that is modified and does not conform to the recurring series pattern.

3

DeletedOccurrence

Recurring appointment deleted from the series.

4

#Remarks

The appointment type cannot be changed directly - its type is specified by its role. The SchedulerAppointmentType enumeration contains all available types.

When you map the Type property to a data field (the DxSchedulerAppointmentMappings.Type property), use the field of the Int32 type. If an appointment’s type is not specified in the data source, the scheduler creates a OneTime appointment (Type = 0). Set the type value to 1 (the Pattern type) and specify the recurrence info (the RecurrenceInfo mapping) to create a recurring appointment.

Refer to the DxSchedulerAppointmentMappings class description for an example.

Run Demo: Scheduler - Recurring Appointments

See Also