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

SchedulerControl.AllowAppointmentDrag Property

Gets or sets whether dragging appointments is allowed. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

public bool AllowAppointmentDrag { get; set; }
Public Property AllowAppointmentDrag As Boolean

Property Value

Type Description
Boolean

true, to allow dragging appointments; otherwise, false.

Remarks

Use the AllowAppointmentDrag property to control the end-users' capability to drag and drop appointments to another location (time slot or date). You can override this global behavior by handling the SchedulerControl.CustomAllowAppointmentDrag event.

Use the SchedulerControl.AllowAppointmentDragBetweenResources property to restrict dragging appointments to another resource's area only.

Setting the SchedulerControl.AllowAppointmentConflicts property restricts dragging appointments to the time interval another appointment occupies.

See Also