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

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

Namespace: DevExpress.Web.Bootstrap

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


public int Add(
    object id,
    AppointmentStatusType type,
    string text,
    string cssClass


Name Type Description
id Object

An object that is the unique status identifier.

type AppointmentStatusType

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

text String

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

cssClass String

A string value that specifies the name of a CSS class applied to the status marker element.


Type Description

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

See Also