wpf-devexpress-dot-xpf-dot-editors-dot-datenavigator-dot-datenavigatorcellappearance-565fc8a0.md
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.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public DateNavigatorStateAppearance FocusedState { get; set; }
Public Property FocusedState As DateNavigatorStateAppearance
| Type | Description |
|---|---|
| DateNavigatorStateAppearance |
A DateNavigatorStateAppearance value that is appearance properties applied to the cell.
|
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>
See Also
DateNavigatorCellAppearance Class