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

AppointmentDragDropOptionsBase.KeepRelativeResourceDistance Property

Gets or sets whether a visual resource distance between appointments remains the same while they are dragged.

Namespace: DevExpress.XtraScheduler

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


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

Property Value

Type Default Description


True, to keep a relative interval measured in visual resources between appointments while they are dragged; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to KeepRelativeResourceDistance


The following animation illustrates how appointments move in a drag-and-drop operation when the KeepRelativeResourceDistance is set to true.



If the KeepRelativeResourceDistance property is true and one of dragged appointments falls on a date that is not currently shown in the scheduler, it becomes invisible.

When the KeepRelativeResourceDistance is false, all selected appointments move to the resource of an appointment being dragged.

See Also