CompatibilitySettings.UseLegacySchedulerCellDecoration Property
Specifies whether to use decoration panels to draw the SchedulerControl‘s elements.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Data.Desktop.v24.2.dll
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 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:
- 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.