Skip to main content

SchedulerControl.KeepResourceDistanceOnAppointmentDrag Property

Gets or sets whether to keep a visual resource distance between appointments while they are dragged. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public bool KeepResourceDistanceOnAppointmentDrag { get; set; }

Property Value

Type Description
Boolean

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

Remarks

The animation below shows how the appointments are dragged with the KeepResourceDistanceOnAppointmentDrag property set to true:

KeepResourceDistanceOnAppointmentDrag_Gif

If the KeepResourceDistanceOnAppointmentDrag is true and one of dragged appointments falls on a date not currently displayed in the scheduler, it becomes invisible.

With the KeepResourceDistanceOnAppointmentDrag property set to false, all selected appointments move to the resource of an appointment being dragged.

See Also