AppointmentStatusCollection.Add(AppointmentStatusType, String, String, Color) Method
In This Article
Adds a new appointment status 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
public int Add(
AppointmentStatusType type,
string displayName,
string menuCaption,
Color color
)
#Parameters
Name | Type | Description |
---|---|---|
type | Appointment |
An Appointment |
display |
String | A string that is the name of the status used in editors. |
menu |
String | A String value which represents the menu caption of the appointment status. This value is assigned to the User |
color | Color | A Color value that specifies the color of the appointment status. |
#Returns
Type | Description |
---|---|
Int32 | An integer value indicating the position at which the new element was inserted. |
See Also