Skip to main content

DateNavigatorStateAppearance.BorderThickness Property

Gets or sets the thickness of the cell’s border. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public Thickness? BorderThickness { get; set; }

Property Value

Type Description
Nullable<Thickness>

A Nullable Thickness value which specifies the cell’s border thickness in pixels.

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