Breaking Change T827363
Visible to All Users

The Scheduler's cells drawing mechanism has been changed

In version 19.2, we have changed the Scheduler's cells drawing mechanism to improve performance and implement the Time Regions feature.

The Scheduler control now draws the views' background, horizontal/vertical lines and selected cells using decoration panels. The following properties at the CellControl level have no visual effect anymore:

If you use these properties to customize the Scheduler control in your applications, you need to update your code. Use the following approaches:

XAML
<dxsch:SchedulerControl.BrushProvider> <dxsch:BrushProvider DefaultCellSelectionBrush="Green" /> </dxsch:SchedulerControl.BrushProvider>
  • Instead of the CellControl.LeftBorderThickness and CellControl.BottomBorderThickness properties, declare an implicit style for view control types to adjust borders of the views' grid (options are available starting with 19.2.4).
XAML
<Style x:Key="SchedulerViewControlBase.Style" xmlns:dxschv="http://schemas.devexpress.com/winfx/2008/xaml/scheduling/visual" TargetType="dxschv:SchedulerViewControlBase"> <Setter Property="CellVerticalBorderThickness" Value="3"/> <Setter Property="CellHorizontalBorderThickness" Value="3"/> </Style> <Style TargetType="dxschv:DayViewGroupByResourceControl" BasedOn="{StaticResource SchedulerViewControlBase.Style}"/> <Style TargetType="dxschv:DayViewGroupByDateControl" BasedOn="{StaticResource SchedulerViewControlBase.Style}"/> <Style TargetType="dxschv:MonthViewGroupByResourceControl" BasedOn="{StaticResource SchedulerViewControlBase.Style}"/> <Style TargetType="dxschv:MonthViewGroupByDateControl" BasedOn="{StaticResource SchedulerViewControlBase.Style}"/> <Style TargetType="dxschv:TimelineViewControl" BasedOn="{StaticResource SchedulerViewControlBase.Style}"/>

For backward compatibility, we introduced the DevExpress.Xpf.Core.CompatibilitySettings.UseLegacySchedulerCellDecoration static property in version 19.2.4. To restore the legacy behavior, set this property to true. Note that the Scheduler control draws its time regions above cell controls regardless of the UseLegacySchedulerCellDecoration property value.

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.