Skip to main content

SchedulerControl.AllowAppointmentDrag Property

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

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v23.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public bool AllowAppointmentDrag { get; set; }

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