DxSchedulerAppointmentItem.Type Property
Specifies the type of an appointment.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v25.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public SchedulerAppointmentType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| SchedulerAppointmentType | A SchedulerAppointmentType enumeration member. |
Available values:
| Name | Description | Value |
|---|---|---|
| OneTime | One-time appointment. |
|
| Pattern | Appointment that serves as the pattern for other recurring appointments. |
|
| Occurrence | Recurring appointment that conforms to the series pattern. |
|
| ChangedOccurrence | Recurring appointment that is modified and does not conform to the recurring series pattern. |
|
| DeletedOccurrence | Recurring appointment deleted from the series. |
|
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.