Skip to main content

AppointmentStatusCollection.Add(Color, String, String) Method

Adds a new appointment status item with the specified settings to the collection.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v23.2.dll

NuGet Package: DevExpress.Web.Scheduler


public int Add(
    Color color,
    string displayName,
    string menuCaption


Name Type Description
color Color

A Color value that specifies the color of the appointment status.

displayName String

A string that is the name of the status used in editors.

menuCaption String

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


Type Description

An integer value indicating the position at which the new element was inserted.

See Also