Back to Devexpress

Appointment.LabelId Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointment-6d2fcc96.md

latest2.2 KB
Original Source

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

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

Property Value

TypeDescription
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

LabelKey

Appointment Interface

Appointment Members

DevExpress.XtraScheduler Namespace