Skip to main content

VisualAppointmentControl.CreateCloneForDrag() Method

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

Namespace: DevExpress.Xpf.Scheduler.Drawing

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

NuGet Package: DevExpress.Wpf.Scheduler


public virtual VisualAppointmentControl CreateCloneForDrag()


Type Description

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



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