IAppointmentFactory.CreateAppointment(AppointmentType) Method
Creates an object with the Appointment interface.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.1.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
type | AppointmentType | A AppointmentType enumeration member specifying the appointment type. |
Returns
Type | Description |
---|---|
Appointment | An object which implements the Appointment interface. |
Remarks
Tip
You can create a custom class with the IAppointmentFactory interface, implement the CreateAppointment method and set a custom class as the default appointment factory using the IAppointmentStorageBase.SetAppointmentFactory method. It enables you to substitute native Scheduler appointments with custom Appointment objects.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateAppointment(AppointmentType) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.