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.2.dll

NuGet Package: DevExpress.Wpf.Scheduler

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