DxSchedulerDataStorage.CopyAppointment(DxSchedulerAppointmentItem) Method
In This Article
Creates a copy of the appointment item.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
public DxSchedulerAppointmentItem CopyAppointment(
DxSchedulerAppointmentItem item
)
#Parameters
Name | Type | Description |
---|---|---|
item | Dx |
An appointment item being copied. |
#Returns
Type | Description |
---|---|
Dx |
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