Skip to main content
A newer version of this page is available. .

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.v19.2.Core.dll

Declaration

[DefaultValue(false)]
public bool KeepRelativeResourceDistance { get; set; }

Property Value

Type Default Description
Boolean **false**

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
SchedulerControl
.OptionsDragDrop.KeepRelativeResourceDistance

Remarks

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

KeepRelativeResourceDistanceTrue

Note

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