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.v23.2.dll

NuGet Package: DevExpress.Win.Scheduler


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


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).


Type Description

An AppointmentLabel object added to this AppointmentLabelDataStorage.

See Also