Skip to main content

DateNavigatorCellAppearance.SelectedState Property

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

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public DateNavigatorStateAppearance SelectedState { get; set; }

Property Value

Type Description
DateNavigatorStateAppearance

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

Remarks

The following code sample specifies the selected cell’s BorderBrush, BorderThickness, and FontWeight properties:

<Window ...
  xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
  <dxe:DateNavigator>
    <dxe:DateNavigator.Appearance>
      <dxe:DateNavigatorCellAppearance>
        <dxe:DateNavigatorCellAppearance.SelectedState>
          <dxe:DateNavigatorStateAppearance Background="FloralWhite" 
                                           BorderBrush="Black"
                                           BorderThickness="1"
                                           FontWeight="Thin"/>
        </dxe:DateNavigatorCellAppearance.SelectedState>
      </dxe:DateNavigatorCellAppearance>
    </dxe:DateNavigator.Appearance>
  </dxe:DateNavigator>
</Window>

DateNavigator Appearance - MouseOverCell

See Also