A newer version of this page is available. Switch to the current version.

VisualAppointmentControl.CreateCloneForDrag() Method

Returns a copy of the current VisualAppointmentControl object for the dragged appointment.

Namespace: DevExpress.Xpf.Scheduler.Drawing

Assembly: DevExpress.Xpf.Scheduler.v19.1.dll

Declaration

public virtual VisualAppointmentControl CreateCloneForDrag()

Returns

Type Description
VisualAppointmentControl

A VisualAppointmentControl object which is a copy of the current object.

Remarks

IMPORTANT

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

The CreateCloneForDrag method creates a new instance of the VisualAppointmentControl class and copies all the values of the current VisualAppointmentControl properties to it.

See Also