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

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