Skip to main content

AppointmentLabelDataStorage.Add(SchedulerColorId, String, String) Method

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

Declaration

public AppointmentLabel Add(
    SchedulerColorId colorId,
    string displayName,
    string menuCaption
)

Parameters

Name Type Description
colorId SchedulerColorId

A SchedulerColorId enumeration value that specifies the Label ID (see the LabelMappingInfo.Id property).

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