AppointmentDragEventArgs.Allow Property

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.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 in the SchedulerControl.AppointmentDrag event handler. On attempting to drag the appointment with a mouse, the appointment becomes disabled and the drag movement is cancelled.

See Also