BootstrapAppointmentStatusCollection.Add(Object, 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(
    object id,
    AppointmentStatusType type,
    string displayName,
    string menuCaption,
    Color color
)
<Browsable(False)>
Public Function Add(
    id As Object,
    type As AppointmentStatusType,
    displayName As String,
    menuCaption As String,
    color As Color
) As Integer

Parameters

Name Type Description
id Object

An object that is the unique status identifier.

type AppointmentStatusType

An AppointmentStatusType enumeration member which indicates the 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

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