Skip to main content
A newer version of this page is available. .

IAppointmentLabelStorage.CreateNewLabel(Object, String) Method

Creates a new label with the specified name and identifier.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.1.Core.dll

Declaration

IAppointmentLabel CreateNewLabel(
    object id,
    string displayName
)

Parameters

Name Type Description
id Object

A Object that is the unique label identifier used in the Appointment.LabelId property.

displayName String

A string that is the name of a label to use in appointment label editors.

Returns

Type Description
IAppointmentLabel

An IAppointmentLabel object that is a new label.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CreateNewLabel(Object, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also