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

DateNavigatorStateAppearance.Opacity Property

Gets or sets the opacity factor applied to the cell. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public double? Opacity { get; set; }

#Property Value

Type Description
Nullable<Double>

The Double value that is represents the opacity value. Expected values are between 0.0 and 1.0.

#Remarks

The following code sample sets Inactive cells’ Opacity to 0.5 and Background to PapayaWhip:

<Window ...
  xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
  <dxe:DateNavigator>
    <dxe:DateNavigator.Appearance>
      <dxe:DateNavigatorCellAppearance>
        <dxe:DateNavigatorCellAppearance.InactiveState>
          <dxe:DateNavigatorStateAppearance Opacity="0.5" Background="PapayaWhip"/>
        </dxe:DateNavigatorCellAppearance.InactiveState>
      </dxe:DateNavigatorCellAppearance>
    </dxe:DateNavigator.Appearance>
  </dxe:DateNavigator>
</Window>

DateNavigator Appearance - MouseOverCell

See Also