BootstrapAppointmentLabelCollection.Add(Object, String, String, String) Method
In This Article
Adds a new appointment label item with the specified settings to the collection.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.2.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. |
background |
String | A string value that specifies the name of a CSS class applied to the label’s background element. |
text |
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