Skip to main content

BootstrapAppointmentStatusCollection.Add(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.v23.2.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public int Add(
    AppointmentStatusType type,
    string text,
    string cssClass
)

Parameters

Name Type Description
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.

Returns

Type Description
Int32

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

See Also