Skip to main content

SchedulerControl.ShowEditAppointmentForm(Appointment) Method

Invokes the Edit Appointment dialog for the specified appointment.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

Declaration

public virtual DialogResult ShowEditAppointmentForm(
    Appointment apt
)

Parameters

Name Type Description
apt Appointment

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

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 common appearance of the standard Edit Appointment dialog is shown in the image below.

EditAppointment Dialog

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