A newer version of this page is available. Switch to the current version.

Appointment.StatusId Property

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

Namespace: DevExpress.XtraScheduler

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


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

Property Value

Type Description

An integer that is the unique identifier of the AppointmentStatus object.


The availability status is one of the appointment's basic visual characteristics. It is used for at-a-glance appointment identification. The status is indicated in the scheduler as a color filled strip displayed on the appointment edge. The strip color fill depends on the status type (the color fill and type of a status object are specified using its Brush and AppointmentStatus.Type properties).

If a SchedulerControl is used in bound mode bound mode (that is its data is stored in a database) the StatusId property's value is obtained from the data field specified by the AppointmentMappingInfo.Status property. The value of the data field is converted to integer. If the mapped data field type is other than integer, the StatusId returns 0.


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

See Also