BootstrapAppointmentStatusCollection.Add(AppointmentStatusType, String, String, Color) Method

Adds a new appointment status item with the specified settings to the collection.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v20.2.dll

Declaration

[Browsable(false)]
public int Add(
    AppointmentStatusType type,
    string displayName,
    string menuCaption,
    Color color
)
<Browsable(False)>
Public Function Add(
    type As AppointmentStatusType,
    displayName As String,
    menuCaption As String,
    color As Color
) As Integer

Parameters

Name Type Description
type AppointmentStatusType

An AppointmentStatusType enumeration member which indicates an appointment's availability.

displayName String

A string that is the name of the status used in editors.

menuCaption String

A string that is the name of the status used in menus.

color Color

An integer value indicating the position at which the new element was inserted.

Returns

Type
Int32
See Also