Skip to main content
A newer version of this page is available. .

DateNavigatorCellAppearance.TodayState Property

Gets or sets appearance properties that are applied to the cell when the cell is today. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public DateNavigatorStateAppearance TodayState { get; set; }

Property Value

Type Description
DateNavigatorStateAppearance

A DateNavigatorStateAppearance value that is appearance properties applied to the cell.

Remarks

The following code sample specifies today and Focused cells’ Background and Foreground properties:

<Window ...
  xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
  <dxe:DateNavigator>
    <dxe:DateNavigator.Appearance>
      <dxe:DateNavigatorCellAppearance>
        <dxe:DateNavigatorCellAppearance.TodayState>
          <dxe:DateNavigatorStateAppearance Background="SkyBlue" Foreground="AliceBlue"/>
        </dxe:DateNavigatorCellAppearance.TodayState>
        <dxe:DateNavigatorCellAppearance.FocusedState>
          <dxe:DateNavigatorStateAppearance Background="Yellow" Foreground="GreenYellow"/>
        </dxe:DateNavigatorCellAppearance.FocusedState>
      </dxe:DateNavigatorCellAppearance>
    </dxe:DateNavigator.Appearance>
  </dxe:DateNavigator>
</Window>

DateNavigator Appearance - MouseOverCell

See Also