Back to Devexpress

How To: Customize Cell Colors

wpf-403705-controls-and-libraries-scheduler-examples-how-to-customize-cell-colors.md

latest1.0 KB
Original Source

How To: Customize Cell Colors

  • Nov 21, 2023

This example illustrates techniques to set the time cell background in a scheduler grouped by resource:

  1. In classic themes, a cell background color depends on the resource’s color. Use the following properties to specify the resource color:

  2. Use the BrushSet property to declare a custom resource brush set . Refer to Brushes and Customization for more information:

  3. Use the BrushProvider property to declare a custom resource provider. Refer to Brush Provider for more information.

  4. Use the Time Regions feature to highlight specific time frames.