AppointmentStatus(AppointmentStatusType, Color, String, String) Constructor

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll

Declaration

[Obsolete("Use AppointmentStatusCollection.CreateNewStatus instead.", false)]
public AppointmentStatus(
    AppointmentStatusType type,
    Color color,
    string displayName,
    string menuCaption
)
<Obsolete("Use AppointmentStatusCollection.CreateNewStatus instead.", False)>
Public Sub New(
    type As AppointmentStatusType,
    color As Color,
    displayName As String,
    menuCaption As String
)

Parameters

Name Type Description
type AppointmentStatusType

An AppointmentStatusType enumeration value that specifies the type of the appointment status. This value is assigned to the AppointmentStatus.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 represents the display name of the appointment status. This value is assigned to the UserInterfaceObject.DisplayName property.

menuCaption String

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

Remarks

IMPORTANT

Use the AppointmentStatusCollection.CreateNewStatus method instead.

See Also