AppointmentStatus.CreateInstance(AppointmentStatusType) Method
Creates a new instance of the AppointmentStatus class and initializes it with the specified type.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
type | Appointment |
A Appointment |
#Returns
Type | Description |
---|---|
Appointment |
An Appointment |
#Remarks
Use the CreateInstance method to create an appointment status of a standard type. It sets the AppointmentStatus.Color, UserInterfaceObject.DisplayName and UserInterfaceObject.MenuCaption properties to the initial values corresponding to the specified type. To create a custom appointment status, use the AppointmentStatus constructor.