Skip to main content

AppointmentStatus(AppointmentStatusType, Color, String) Constructor

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

Namespace: DevExpress.Xpf.Scheduler

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

Declaration

public AppointmentStatus(
    AppointmentStatusType type,
    Color color,
    string displayName
)
Public Sub New(
    type As AppointmentStatusType,
    color As Color,
    displayName 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.

color Color

A Color value that specifies the color of the appointment status. This value is assigned to the AppointmentStatus.Color property.

displayName String

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

Remarks

The UserInterfaceObject.MenuCaption property will be set to the specified value for the display name.

NOTE

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

See Also