Back to Devexpress

SchedulerControl.EditAppointmentDependencyFormShowing Event

windowsforms-devexpress-dot-xtrascheduler-dot-schedulercontrol-bc3264aa.md

latest3.7 KB
Original Source

SchedulerControl.EditAppointmentDependencyFormShowing Event

Occurs before the Appointment Dependency dialog window is invoked.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public event AppointmentDependencyFormEventHandler EditAppointmentDependencyFormShowing
vb
Public Event EditAppointmentDependencyFormShowing As AppointmentDependencyFormEventHandler

Event Data

The EditAppointmentDependencyFormShowing event's data class is AppointmentDependencyFormEventArgs. The following properties provide information specific to this event:

PropertyDescription
AppointmentDependencyGets the appointment dependency for which the dialog will be shown.
CommandSourceTypeIndicates the mechanism of the command input, e.g. keyboard, mouse, menu.
DialogResultGets or sets the return value of a dialog box. Inherited from ShowFormEventArgs.
HandledGets or sets whether an event was handled, if it was handled the default actions are not required. Inherited from ShowFormEventArgs.
ParentGets or sets a parent of the form being shown. Inherited from ShowFormEventArgs.
ReadOnlyGets a value indicating whether an appointment dependency is read-only.

Remarks

Handle the EditAppointmentDependencyFormShowing event to perform any actions prior to the Appointment Dependency dialog being shown. You can specify a custom dialog in place of the standard one or not display a dialog at all.

This dialog can be invoked either in the GanttView view by an end-user, or via the SchedulerControl.ShowEditAppointmentDependencyForm method. Note that the appointment dependency which will be edited in this dialog window can be specified via the AppointmentDependencyFormEventArgs.AppointmentDependency property.

See Also

ShowEditAppointmentDependencyForm

Gantt View

SchedulerControl Class

SchedulerControl Members

DevExpress.XtraScheduler Namespace