Skip to main content
A newer version of this page is available.

BootstrapAppointmentStatusCollection.Add(AppointmentStatusType, String, String, Color) Method

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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v19.1.dll

Declaration

[Browsable(false)]
public int Add(
    AppointmentStatusType type,
    string displayName,
    string menuCaption,
    Color color
)

Parameters

Name Type Description
type AppointmentStatusType

An AppointmentStatusType enumeration member which indicates an appointment’s availability.

displayName String

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

menuCaption String

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

color Color

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

Returns

Type
Int32
See Also