CompatibilitySettings.UseLegacySchedulerCellDecoration Property
Specifies whether to use decoration panels to draw the SchedulerControl‘s elements.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Data.Desktop.v21.1.dll
NuGet Package: DevExpress.Data.Desktop
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to use the legacy mechanism affected by the CellControl’s customization properties; false, to use decoration panels. |
Remarks
In version 19.2, we have changed the SchedulerControl‘s cells drawing mechanism to implement the Time Regions feature.
The Scheduler control now 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:
- LeftBorderThickness
- CellControl..BottomBorderThickness
- CellControl..SelectedBackground
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.