Back to Devexpress

SchedulerControl.ShowEditAppointmentDependencyForm(AppointmentDependency, Boolean, CommandSourceType) Method

windowsforms-devexpress-dot-xtrascheduler-dot-schedulercontrol-dot-showeditappointmentdependencyform-x28-appointmentdependency-boolean-commandsourcetype-x29.md

latest3.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

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

Parameters

NameTypeDescription
dependencyAppointmentDependency

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

TypeDescription
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.

See Also

EditAppointmentDependencyFormShowing

Dependencies

SchedulerControl Class

SchedulerControl Members

DevExpress.XtraScheduler Namespace