Skip to main content

AppointmentDragEventArgs.Allow Property

Specifies whether the appointment can be dragged along the time cells.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v14.2.Core.dll

Declaration

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

Property Value

Type Description
Boolean

true if appointment dragging is allowed; otherwise, false.

Remarks

To prevent the appointment from being dragged, set the Allow property to false and the AppointmentDragEventArgs.Handled property to true in the SchedulerControl.AppointmentDrag event handler. On attempting to drag the appointment with a mouse, the drag movement is cancelled.

See Also