Skip to main content

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.v24.2.Core.Desktop.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.

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