AppointmentStatusCollection.Add(Color, String) Method
Creates a new status with the specified settings and adds it to the collection of appointment statuses.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
color | Color | A Color structure used to create a Solid |
display |
String | A string that is the name of the status used in editors. This string is also assigned to the User |
#Returns
Type | Description |
---|---|
Int32 | An integer that is the position of status in the collection. |
#Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.
This method creates a status with a null identifier. The type of the added status is set to AppointmentStatusType.Custom.