BootstrapAppointmentLabelCollection.Add(String, String) Method

Adds a new appointment label 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(
    string displayName,
    string menuCaption
)
<Browsable(False)>
Public Function Add(
    displayName As String,
    menuCaption As String
) As Integer

Parameters

Name Type Description
displayName String

A string that is the name of the label displayed in label editors.

menuCaption String

A string containing the menu caption for the command used to set the label for an appointment.

Returns

Type Description
Int32

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

See Also