SchedulerControl.ShowEditAppointmentDependencyForm(AppointmentDependency, Boolean) Method

Invokes the Appointment Dependency form used to modify or delete a specified dependency.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll

Declaration

public virtual DialogResult ShowEditAppointmentDependencyForm(
    AppointmentDependency dependency,
    bool readOnly
)
Public Overridable Function ShowEditAppointmentDependencyForm(
    dependency As AppointmentDependency,
    readOnly As Boolean
) As DialogResult

Parameters

Name Type Description
dependency AppointmentDependency

An AppointmentDependency object that is the appointment dependency to modify or delete.

readOnly Boolean

True to display a form as read-only; otherwise, false.

Returns

Type Description
DialogResult

A DialogResult enumeration value that is the return value of the dialog.

Remarks

The ShowEditAppointmentDependencyForm method arguments are passed to the SchedulerControl.EditAppointmentDependencyFormShowing event handler as AppointmentDependencyFormEventArgs members.

The Appointment Dependency form is shown in the picture below.

AppointmentDependencyForm

See Also