AppointmentStatusCollection.CreateNewStatus(Object, String, String, Color) Method
Creates a new IAppointmentStatus object.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v22.2.dll
NuGet Package: DevExpress.Web.Scheduler
Declaration
public AppointmentStatus CreateNewStatus(
object id,
string displayName,
string menuCaption,
Color color
)
Parameters
Name | Type | Description |
---|---|---|
id | Object | The unique user interface object identifier of the appointment status. |
displayName | String | A String value which represents the display name of the appointment status. This value is assigned to the UserInterfaceObject.DisplayName property. |
menuCaption | String | A String value which represents the menu caption of the appointment status. This value is assigned to the UserInterfaceObject.MenuCaption property. |
color | Color | A Color value that specifies the color of the appointment status. |
Returns
Type | Description |
---|---|
AppointmentStatus | A newly cleated IAppointmentStatus object. |