Back to Devexpress

SchedulerControl.EditAppointments(IEnumerable<AppointmentItem>, IEnumerable<AppointmentItem>, Boolean) Method

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-dot-editappointments-x28-ienumerable-appointmentitem-ienumerable-appointmentitem-boolean-x29.md

latest3.2 KB
Original Source

SchedulerControl.EditAppointments(IEnumerable<AppointmentItem>, IEnumerable<AppointmentItem>, Boolean) Method

Edits the specified appointments.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public bool EditAppointments(
    IEnumerable<AppointmentItem> sourceAppointments,
    IEnumerable<AppointmentItem> editAppointments,
    bool showConflictsMessageBox = true
)
vb
Public Function EditAppointments(
    sourceAppointments As IEnumerable(Of AppointmentItem),
    editAppointments As IEnumerable(Of AppointmentItem),
    showConflictsMessageBox As Boolean = True
) As Boolean

Parameters

NameTypeDescription
sourceAppointmentsIEnumerable<AppointmentItem>

The appointments to be edited.

| | editAppointments | IEnumerable<AppointmentItem> |

The edited appointments to replace the sourceAppointments.

|

Optional Parameters

NameTypeDefaultDescription
showConflictsMessageBoxBooleanTrue

true, to display the message box that warns about conflicting appointments; otherwise, false.

|

Returns

TypeDescription
Boolean

true, if the appointments have been edited; otherwise, false.

|

Remarks

The method does not apply changes to the sourceAppointments and returns false in either of the following cases:

See Also

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace