BootstrapAppointmentStatusCollection.Add(Color, String, String) Method

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

Namespace: DevExpress.Web.Bootstrap

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

Declaration

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

Parameters

Name Type Description
color Color

A Color value that specifies the color of the appointment status.

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.

Returns

Type Description
Int32

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

See Also