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.v24.1.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.

See Also