A newer version of this page is available. Switch to the current version.

AppointmentLabelDataStorage.Add(Color, String, String) Method

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.dll

Declaration

public AppointmentLabel Add(
    Color color,
    string displayName,
    string menuCaption
)

Parameters

Name Type Description
color Color

A System.Drawing.Color value that specifies the appointment background color (see the LabelMappingInfo.Color 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