Skip to main content

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

Declaration

public static bool ConvertOccurrenceToNormalWhenDragBetweenResources { get; set; }

Property Value

Type Description
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:

ConvertOccurrenceToNormalWhenDragBetweenResources

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