BootstrapAppointmentLabelCollection.Add(Object, 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.v25.1.dll
NuGet Package: DevExpress.Web.Bootstrap
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| id | Object | An object that is the unique label identifier. |
| 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