Skip to main content

SchedulerControl.ShowEditAppointmentForm(Appointment, Boolean, Boolean) Method

Invokes the Edit Appointment dialog for the specified appointment. Also, optionally invokes the Recurrence dialog and disables all editors on this form, if required.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

public virtual DialogResult ShowEditAppointmentForm(
    Appointment apt,
    bool openRecurrenceForm,
    bool readOnly
)

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.

readOnly Boolean

True to open this form to display properties of a read-only appointment (in this situation all form editors are disabled); 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. The standard Appointment 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