Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AppointmentLabelDataStorage.Add(String, String) Method

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public AppointmentLabel Add(
    string displayName,
    string menuCaption
)

#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