blazor-devexpress-dot-blazor-dot-dxschedulerappointmentitem-b8157658.md
Specifies the type of an appointment.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public SchedulerAppointmentType Type { get; set; }
| 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
|
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
DxSchedulerAppointmentItem Class