Skip to main content

DateNavigatorStateAppearance.FontWeight Property

Gets or sets the cell’s font weight. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public FontWeight? FontWeight { get; set; }

Property Value

Type Description
Nullable<FontWeight>

A Nullable FontWeight value that is the font weight.

Remarks

The following code sample specifies Holiday cells’ Background, 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.HolidayState>
          <dxe:DateNavigatorStateAppearance Background="FloralWhite" 
                                           BorderBrush="Black" 
                                           BorderThickness="1" 
                                           FontWeight="Thin"/>
        </dxe:DateNavigatorCellAppearance.HolidayState>
      </dxe:DateNavigatorCellAppearance>
    </dxe:DateNavigator.Appearance>
  </dxe:DateNavigator>
</Window>

DateNavigator Appearance - MouseOverCell

See Also