Skip to main content
A newer version of this page is available. .

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

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the StatusId property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also