Skip to main content

Appointment.StatusId Property

OBSOLETE

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

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

Property Value

Type Description
Int32

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

Remarks

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.

Note

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

See Also