Back to Devexpress

SchedulerControl.KeepResourceDistanceOnAppointmentDrag Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-d97a3807.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public bool KeepResourceDistanceOnAppointmentDrag { get; set; }
vb
Public Property KeepResourceDistanceOnAppointmentDrag As Boolean

Property Value

TypeDescription
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

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace