SchedulerCompatibility.StatusOutOfOfficeColor Property

Specifies the Out-of-Office status color for WinForms Scheduler.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll

Declaration

public static Color StatusOutOfOfficeColor { get; set; }
Public Shared Property StatusOutOfOfficeColor As Color

Property Value

Type Description
Color

A Color value that is the color used to indicate the appointment Out-of-Office status.

Remarks

In v2017 vol.1, the color indicating the AppointmentStatusType.OutOfOffice appointment status has been changed to the color used in Microsoft Outlook. To restore the color previously used by the WinForms Scheduler, set the StatusOutOfOfficeColor property to #FFD95353.

Examples

This code snippet sets the color of the Out-of-Office status to a value used before v2017 vol.1. The SchedulerCompatibility.StatusOutOfOfficeColor is a static property used for an application-wide setting. This line of code should be placed before initialization of all forms containing Scheduler controls.

DevExpress.XtraScheduler.SchedulerCompatibility.StatusOutOfOfficeColor = System.Drawing.Color.FromArgb(0xD9,0x53,0x53);
See Also