Back to Devexpress

SchedulerControl.AllowAppointmentDrag Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-8375faf4.md

latest2.0 KB
Original Source

SchedulerControl.AllowAppointmentDrag Property

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

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

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

Property Value

TypeDescription
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

AppointmentDragMode

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace