Skip to main content

Appointment.StatusId Property


Use the StatusKey property instead.

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

NuGet Package: DevExpress.Scheduler.Core


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

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