Back to Devexpress

CompatibilitySettings.ConvertOccurrenceToNormalWhenDragBetweenResources Property

corelibraries-devexpress-dot-xpf-dot-core-dot-compatibilitysettings-56cfeadb.md

latest2.8 KB
Original Source

CompatibilitySettings.ConvertOccurrenceToNormalWhenDragBetweenResources Property

Specifies whether a recurring appointment is converted to a normal appointment when an end-user drags and drops it to another resource.

Namespace : DevExpress.Xpf.Core

Assembly : DevExpress.Data.Desktop.v25.2.dll

NuGet Packages : DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

Declaration

csharp
public static bool ConvertOccurrenceToNormalWhenDragBetweenResources { get; set; }
vb
Public Shared Property ConvertOccurrenceToNormalWhenDragBetweenResources As Boolean

Property Value

TypeDescription
Boolean

True , if a recurring appointment is converted to normal after a drag-and-drop operation to another resource; otherwise, false. Default is false.

|

Remarks

Starting with version 18.2, when an end-user drags and drops a recurring appointment (occurrence or changed occurrence) to another resource, the appointment changes its type to AppointmentType.ChangedOccurrence and changes the assigned resource to the new resource where it is dropped.

Previously, an appointment is deleted from the series of other recurring appointments of the same pattern (i.e., its type is changed, so that the Appointment.Type has the AppointmentType.DeletedOccurrence value) and a normal appointment with a new resource is created.

The following animation illustrates two behavior types:

Tip

To restore the previous behavior, set the ConvertOccurrenceToNormalWhenDragBetweenResources property to true. Note that it is a static property and affects all Scheduler controls in your application.

See Also

Recurrences

CompatibilitySettings Class

CompatibilitySettings Members

DevExpress.Xpf.Core Namespace