All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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

Adds the specified appointments to the AppointmentItems collection.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.1.dll

Declaration

public bool AddAppointments(
    IEnumerable<AppointmentItem> appointments,
    bool showConflictsMessageBox = true
)
Public Function AddAppointments(
    appointments As IEnumerable(Of AppointmentItem),
    showConflictsMessageBox As Boolean = True
) As Boolean

Parameters

Name Type Description
appointments IEnumerable<AppointmentItem>

A collection of DevExpress.Xpf.Scheduling.AppointmentItem objects to be added to the AppointmentItems collection.

Optional Parameters

Name Type Default Description
showConflictsMessageBox Boolean

True

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

Returns

Type Description
Boolean

true, if the appointments have been added to the AppointmentItems collection; otherwise, false.

Remarks

The method does not add the specified appointments and returns false in either of the following cases:

See Also