Skip to main content

DateNavigator.Appearance Property

Gets or sets the calendar’s appearance. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

NuGet Package: DevExpress.Wpf.Core


public DateNavigatorCellAppearance Appearance { get; set; }

Property Value

Type Description

An object that contains cell appearance settings.


The DateNavigator searches for a cell’s appearance settings in the cell’s states. The search order depends of an application theme. The search 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 following themes are supported:

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

The code sample below demonstrates how to customize DateNavigator cell appearance.

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

DateNavigator Appearance - MouseOverCell

Runtime Appearance Customization

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

See Also