AppointmentStatusCollection.GetDefaultStatusColor(AppointmentStatusType) Method
Obtains the default status color by the status type.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v25.1.dll
NuGet Package: DevExpress.Win.Scheduler
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| type | AppointmentStatusType | An AppointmentStatusType enumeration member that specified the appointment status. |
Returns
| Type | Description |
|---|---|
| Color | A Color that is the color use to create a brush to paint the appointment status. |
Remarks
By default, the Statuses collection contains the following items:
| Standard Brush | Standard ARGB Color Value | Display Name | StatusId |
|---|---|---|---|
![]() |
#FFFFFFFF | Free | 0 |
![]() |
#FF4A87E2 | Tentative | 1 |
![]() |
#FF4A87E2 | Busy | 2 |
![]() |
#FF800080 | Out Of Office | 3 |
![]() |
#FF937BD1 | Working Elsewhere | 4 |
If an appointment has a label, the status brush uses the label’s color instead of default color for all status types except the AppointmentStatusType.OutOfOffice type, which retains its default color.
See Also




