DxSchedulerDataStorage.CopyAppointment(DxSchedulerAppointmentItem) Method
Creates a copy of the appointment item.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
public DxSchedulerAppointmentItem CopyAppointment(
DxSchedulerAppointmentItem item
)
Parameters
Name | Type | Description |
---|---|---|
item | DxSchedulerAppointmentItem | An appointment item being copied. |
Returns
Type | Description |
---|---|
DxSchedulerAppointmentItem | A copy of the specified appointment item. |
Remarks
The CopyAppointment
method creates a valid copy of the appointment preserving its type and recurrence info.
Important
A copy of the specified appointment has its ID set to a default initial value (0 (zero) for integer type, null for the string type). You should specify a valid ID before adding an appointment copy to the storage.
See Also