Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerControl.AllowAppointmentDrag Property

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

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.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