Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DateNavigatorCellAppearance.FocusedState Property

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

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public DateNavigatorStateAppearance FocusedState { get; set; }

#Property Value

Type Description
DateNavigatorStateAppearance

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

#Remarks

The following code sample specifies the today and Focused cell’s 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