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

BootstrapAppointmentLabelCollection.Add(String, String, String) Method

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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll

Declaration

public int Add(
    string text,
    string backgroundCssClass,
    string textCssClass
)

Parameters

Name Type Description
text String

A string that is the name of the label displayed in label editors.

backgroundCssClass String

A string value that specifies the name of a CSS class applied to the label’s background element.

textCssClass String

A string value that specifies the name of a CSS class applied to the label’s text element.

Returns

Type Description
Int32

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

See Also