Skip to main content

DateNavigator.CalculateVisibleDateRange(Boolean, out DateTime, out DateTime) Method

Specifies the start and end dates of the data range that is currently visible within DateNavigator.

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public void CalculateVisibleDateRange(
    bool excludeInactiveDates,
    out DateTime startDate,
    out DateTime endDate
)

Parameters

Name Type Description
excludeInactiveDates Boolean

A Boolean value indicating whether inactive dates should be taken into account when calculating the start and end dates of the date navigator’s visible date range.

startDate DateTime

A DateTime object specifying the start date of the date navigator’s visible date range.

endDate DateTime

A DateTime object specifying the end date of the date navigator’s visible date range.

Remarks

The CalculateVisibleDateRange method calculates the start and end dates of the date range that is visible within the date navigator.

DateNavigator_CalculateVisibleDateRange

See Also