Back to Devexpress

CompatibilitySettings.UseLegacySchedulerCellDecoration Property

corelibraries-devexpress-dot-xpf-dot-core-dot-compatibilitysettings-0a670fe6.md

latest2.6 KB
Original Source

CompatibilitySettings.UseLegacySchedulerCellDecoration Property

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

Declaration

csharp
public static bool UseLegacySchedulerCellDecoration { get; set; }
vb
Public Shared Property UseLegacySchedulerCellDecoration As Boolean

Property Value

TypeDescription
Boolean

true to use the legacy mechanism affected by the CellControl’s customization properties; false to use decoration panels.

|

Remarks

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

CompatibilitySettings Class

CompatibilitySettings Members

DevExpress.Xpf.Core Namespace