Skip to main content

SchedulerControl.ShowEditAppointmentForm(Appointment, Boolean) Method

Invokes the Edit Appointment dialog for the specified appointment. Also, optionally disables all editors on dialog, if required.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public virtual void ShowEditAppointmentForm(
    Appointment apt,
    bool readOnly
)

#Parameters

Name Type Description
apt Appointment

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

readOnly Boolean

true to open this form to display properties of a read-only appointment (in this case all form editors are disabled); otherwise, false.

#Remarks

The Edit Appointment dialog allows end-users to change the properties of any appointment. The common appearance of the standard Edit Appointment form is shown below.

DXScheduler_EditAppointments_Reminder

Use the SchedulerControl.EditAppointmentFormShowing event to handle the display of this form, for example, to invoke your own custom form instead of the standard one.

See Also