Skip to main content

SchedulerControl.ShowEditAppointmentForm(Appointment, Boolean) Method

Invokes the Edit Appointment dialog for the specified recurring appointment. Optionally invokes the Recurrence dialog, if required. Does nothing for non recurring appointments.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

public virtual DialogResult ShowEditAppointmentForm(
    Appointment apt,
    bool openRecurrenceForm
)

Parameters

Name Type Description
apt Appointment

An Appointment object which is the recurring appointment to be edited in the dialog.

openRecurrenceForm Boolean

true to open the Recurrence dialog; otherwise, false.

Returns

Type Description
DialogResult

A DialogResult enumeration value that is the return value of the dialog.

Remarks

This dialog allows end-users to change the properties of any appointment, or add a new one to the Scheduler‘s data. The appearance of the standard dialog along with the standard Recurrence dialog are shown in the image below.

EditAppointment Dialog2

Tip

Use the SchedulerControl.EditAppointmentFormShowing event to handle the showing of this dialog, and to invoke your own custom dialog instead of the standard one.

See Also