Skip to main content

AppointmentStatus(AppointmentStatusType, Color, String, String) Constructor

OBSOLETE

Use CreateNewStatus instead

Initializes a new instance of the AppointmentStatus class with the specified settings.

Namespace: DevExpress.Xpf.Scheduler

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

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

[Obsolete("Use AppointmentStatusCollection.CreateNewStatus instead", false)]
public AppointmentStatus(
    AppointmentStatusType type,
    Color color,
    string displayName,
    string menuCaption
)

Parameters

Name Type
type AppointmentStatusType
color Color
displayName String
menuCaption String

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

Important

Use the AppointmentStatusCollection.CreateNewStatus method instead.

See Also