Skip to main content

Appointment.LabelId Property


Use the LabelKey property instead.

Gets or sets the integer identifier of the label object associated with the appointment. Obsolete. Use the Appointment.LabelKey property instead.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v22.2.Core.dll

NuGet Package: DevExpress.Scheduler.Core


[Obsolete("Use the LabelKey property instead.", false)]
int LabelId { get; set; }

Property Value

Type Description

An integer that specifies the unique identifier of the AppointmentLabel.


If a SchedulerControl is in bound mode (that is, its data are stored in a database) the LabelId property’s value is obtained from the data field specified by the AppointmentMappingInfo.Label property. The value of the data field is converted to integer. If conversion fails, the LabelId returns 0.


Use the Appointment.LabelKey property instead of the LabelId property for any type of label identifier.

The following code snippets (auto-collected from DevExpress Examples) contain references to the LabelId property.


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