Skip to main content
All docs
V25.1
  • DateNavigatorRequestCellAppearanceEventArgs.CacheValue Property

    Gets or sets whether the event should cache the date cell’s appearance value in the specified state.

    Namespace: DevExpress.Xpf.Editors.DateNavigator

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

    NuGet Package: DevExpress.Wpf.Core

    Declaration

    public bool CacheValue { get; set; }

    Property Value

    Type Description
    Boolean

    true, to cache the date cell’s appearance value; otherwise, false.

    Remarks

    The RequestCellAppearanceEvent is raised for all displayed date cells each time when the cell state is changed. DateNavigator changes a date cell state even when you mouse over or select a cell.

    Tip

    Refer to the DateNavigatorCalendarCellState enum to get the cell state list.

    You can set the CacheValue event argument to true to save the combination of the CalendarView and Appearance properties for a date cell’s CellState on the next event raise.

    If the date cell’s properties are cached, the RequestCellAppearanceEvent will not be raised for this date cell.

    Use the RefreshCellAppearances() method to clear a date cell’s cached values. If the CacheValue event argument is still true, DateNavigator update a date cell’s cached values when the RequestCellAppearanceEvent is raised the next time.

    See Also