Appointment.LabelId Property

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

Declaration

[Obsolete("Use the LabelKey property instead.", false)]
int LabelId { get; set; }
<Obsolete("Use the LabelKey property instead.", False)>
Property LabelId As Integer

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