Skip to main content
All docs

DateNavigatorCellAppearance Class

Contains a DateNavigator‘s cell states.

Namespace: DevExpress.Xpf.Editors.DateNavigator

Assembly: DevExpress.Xpf.Core.v22.2.dll

NuGet Package: DevExpress.Wpf.Core


public class DateNavigatorCellAppearance :

The following members return DateNavigatorCellAppearance objects:


Search Order

The DateNavigator searches for cell appearance settings in the cell states. The search order depends on the application theme, and is conducted in the following order:

  1. DisabledState
  2. InactiveState
  3. HolidayState
  4. SpecialDateState
  5. FocusedState
  6. MouseOverState
  7. SelectedState
  8. TodayState
  9. NormalState.


The DateNavigator searches for a cell’s appearance settings in the cell’s states only when one of the following themes are applied to an application:

Theme Family Themes
Windows 11 Dark, Light
Windows 10 Dark, Light
Office 2019 Black, Colorful, Dark Gray, White, HighContrast
Visual Studio 2019 Blue, Dark, Light
Office 2016 SE Black, Colorful, Dark Gray, White
Visual Studio 2017 Blue, Dark, Light


Once the DateNavigator has found the cell’s appearance property, the scanning is stopped.

RequestCellAppearance Event

Use a cell’s RequestCellAppearance event to get or set cell appearance values at runtime.

Code Sample

The code sample below demonstrates how to customize DateNavigator cells’ appearance.

<Window ...
          <dxe:DateNavigatorStateAppearance Background="Red" CornerRadius="5"/>
          <dxe:DateNavigatorStateAppearance Background="Green"/>

DateNavigator Appearance - MouseOverCell


See Also