Back to Devexpress

Appointment.StatusId Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointment-be77b731.md

latest2.7 KB
Original Source

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

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

Property Value

TypeDescription
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

StatusKey

Appointment Interface

Appointment Members

DevExpress.XtraScheduler Namespace