Skip to main content
All docs
V19.1

SchedulerView.CopyAppointment(AppointmentItem) Method

Creates a copy of the specified appointment object.

Namespace: DevExpress.XamarinForms.Scheduler

Assembly: DevExpress.XamarinForms.Scheduler.dll

Declaration

public AppointmentItem CopyAppointment(
    AppointmentItem item
)

Parameters

Name Type Description
item AppointmentItem

An appointment object to be copied.

Returns

Type Description
AppointmentItem

An AppointmentItem object which is a copy of the passed object.

Remarks

The CopyAppointment method creates a new AppointmentItem class instance and copies property values of the appointment object passed as a parameter to it. A created appointment is always of the Normal type, except for when you copy a pattern appointment. In this case, the created appointment is also of the Pattern type.

See Also