A newer version of this page is available. Switch to the current version.

SchedulerStorage.CreateAppointmentDependency(Object, Object, AppointmentDependencyType) Method

Creates a dependency of the specified type between two appointments specified by their IDs. Not applicable to WPF Scheduler.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v18.2.dll


public AppointmentDependency CreateAppointmentDependency(
    object parentId,
    object dependentId,
    AppointmentDependencyType type
Public Function CreateAppointmentDependency(
    parentId As Object,
    dependentId As Object,
    type As AppointmentDependencyType
) As AppointmentDependency


Name Type Description
parentId Object

An object that is the ID of the parent appointment.

dependentId Object

An object that is the ID of the dependent appointment.

type AppointmentDependencyType

A AppointmentDependencyType enumeration specifying the type of the dependency link.


Type Description

An AppointmentDependency object.



You are viewing documentation for the legacy WPF Scheduler control. If you're starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.


Do not use the CreateAppointmentDependency method. Appointment dependencies are required for the Gantt View which is available only for WinForms.

See Also