Skip to main content
A newer version of this page is available. .

SchedulerControl.ShowEditAppointmentForm(Appointment, Boolean) Method

Invokes the Edit Appointment dialog for the specified appointment. Also optionally invokes the Recurrence dialog, if required.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.dll

Declaration

public virtual DialogResult ShowEditAppointmentForm(
    Appointment apt,
    bool openRecurrenceForm
)

Parameters

Name Type Description
apt Appointment

An Appointment object which is the 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