Skip to main content

Appointment.LabelId Property

OBSOLETE

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.v23.2.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

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

Property Value

Type Description
Int32

An integer that specifies the unique identifier of the AppointmentLabel.

Remarks

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.

Note

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

See Also