Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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:

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