Skip to main content

AppointmentStatus(AppointmentStatusType, String, String) Constructor

Initializes a new instance of the AppointmentStatus class with the specified type, display name and menu caption.

Namespace: DevExpress.Xpf.Scheduler

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

Declaration

public AppointmentStatus(
    AppointmentStatusType type,
    string displayName,
    string menuCaption
)
Public Sub New(
    type As AppointmentStatusType,
    displayName As String,
    menuCaption As String
)

Parameters

Name Type Description
type AppointmentStatusType

A AppointmentStatusType enumeration value that specifies the type of the appointment status. This value is assigned to the AppointmentStatusBase.Type property.

displayName String

A String value which is the display name of the appointment status. This value is assigned to the UserInterfaceObject.DisplayName property.

menuCaption String

A String value which is the menu caption of the appointment status. This value is assigned to the UserInterfaceObject.MenuCaption property.

Remarks

The AppointmentStatus.Color property will be set to White.

NOTE

Use the AppointmentStatus.CreateInstance method to create an appointment status of a predefined type (listed in the AppointmentStatusType enumeration).

See Also