SchedulerControl.ShowEditAppointmentDependencyForm(AppointmentDependency, Boolean, CommandSourceType) 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,
    CommandSourceType commandSourceType
)
Public Overridable Function ShowEditAppointmentDependencyForm(
    dependency As AppointmentDependency,
    readOnly As Boolean,
    commandSourceType As CommandSourceType
) 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.

commandSourceType CommandSourceType

A CommandSourceType enumeration member that enables you to identify the source of the command to display a form.

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