Skip to main content
All docs
V24.1

DateNavigatorRequestCellAppearanceEventArgs Class

Provides data for the RequestCellAppearance event.

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public class DateNavigatorRequestCellAppearanceEventArgs :
    RoutedEventArgs

Remarks

In this event, you can use the following properties:

Code Sample

The following code sample changes the 4.24.2020 date cell’s appearance and caches appearance values:

private void DateNav_RequestCellAppearance(object sender, DevExpress.Xpf.Editors.DateNavigator.DateNavigatorRequestCellAppearanceEventArgs args) {
    DateTime day = new DateTime(2020, 4, 24);
      if (args.DateTime.Date == day && args.IsMouseOver ) {
          args.Appearance.Background = Brushes.Green;
          args.CacheValue=true;
      }
}

DateNavigator Appearance - MouseOverCell

Inheritance

Object
EventArgs
RoutedEventArgs
DateNavigatorRequestCellAppearanceEventArgs
See Also