AppointmentLabelCollection.Add(Object, String, String, Color) Method
Adds a new appointment label item with the specified settings to the collection.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll
NuGet Package: DevExpress.Web.Scheduler
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
id | Object | An object that is the unique label identifier. |
display |
String | A string that is the name of the label displayed in label editors. |
menu |
String | A string containing the menu caption for the command used to set the label for an appointment. |
label |
Color | A Color specifying the color that represents the label. |
#Returns
Type | Description |
---|---|
Int32 | An integer value indicating the position at which the new element was inserted. |
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Add(Object, String, String, Color) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.