AppointmentLabelDataStorage.Add(String, String) Method

Adds a new Label with specific settings to this AppointmentLabelDataStorage collection.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll

Declaration

public AppointmentLabel Add(
    string displayName,
    string menuCaption
)
Public Function Add(
    displayName As String,
    menuCaption As String
) As AppointmentLabel

Parameters

Name Type Description
displayName String

A String value that is the primary Label name (see the LabelMappingInfo.DisplayName property).

menuCaption String

A String value that is the secondary Label name (see the LabelMappingInfo.MenuCaption property).

Returns

Type Description
AppointmentLabel

An AppointmentLabel object added to this AppointmentLabelDataStorage.

See Also