Skip to main content

SchedulerCompatibility.StatusOutOfOfficeColor Property

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

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

public static Color StatusOutOfOfficeColor { get; set; }

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.

Example

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);

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the StatusOutOfOfficeColor 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