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

IAppointmentDependencyStorage.SetAppointmentDependencyFactory(IAppointmentDependencyFactory) Method

Assigns the specified factory to the appointment dependency storage.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.Core.dll


void SetAppointmentDependencyFactory(
    IAppointmentDependencyFactory factory


Name Type Description
factory IAppointmentDependencyFactory

An object implementing the IAppointmentDependencyFactory interface which specifies the new appointment dependency factory for the storage.


Use the SetAppointmentDependencyFactory method to specify a custom appointment dependency factory for the storage. New dependencies are created with the factory’s IAppointmentDependencyFactory.CreateAppointmentDependency method. Thus, a customized factory can be used to generate appointment dependency descendants instead of native appointment dependencies within the Scheduler.

See Also