corelibraries-devexpress-dot-xpf-dot-core-dot-compatibilitysettings-0a670fe6.md
Specifies whether to use decoration panels to draw the SchedulerControl‘s elements.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Data.Desktop.v25.2.dll
NuGet Packages : DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design
public static bool UseLegacySchedulerCellDecoration { get; set; }
Public Shared Property UseLegacySchedulerCellDecoration As Boolean
| Type | Description |
|---|---|
| Boolean |
true to use the legacy mechanism affected by the CellControl’s customization properties; false to use decoration panels.
|
In v19.2 , we changed the SchedulerControl‘s cells drawing mechanism to implement the Time Regions feature.
The Scheduler control uses decoration panels to draw the views’ background, horizontal/vertical lines, and selected cells. The following properties at the CellControl level have no visual effect anymore:
To restore the legacy behavior, set the UseLegacySchedulerCellDecoration property to true. Refer to the following Breaking Change for details: T827363.
Tip
The Scheduler control draws its time regions above cell controls regardless of the UseLegacySchedulerCellDecoration property value.
See Also