A newer version of this page is available. Switch to the current version.

SchedulerControl.AppointmentDragMode Property

Specifies how an appointment fits in the time cell(s) when dragging it to another time interval. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

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


public AppointmentDragResizeMode AppointmentDragMode { get; set; }
Public Property AppointmentDragMode As AppointmentDragResizeMode

Property Value

Type Description

One of the AppointmentDragResizeMode enumeration values indicating the appointment's drag mode.



The AppointmentDragMode property value has effect only if the SnapToCell option (the DayViewBase.SnapToCellsMode property or the TimelineView.SnapToCellsMode property, depending on the View) is set to SnapToCellsMode.Never.


A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=T605963.

See Also