Skip to main content

DateTimePeriod.CreateNextDays(String, Int32) Method

Creates the period whose duration is the specified number of days. The period includes the days after the current day.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v22.2.Core.dll

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design


public static DateTimePeriod CreateNextDays(
    string name,
    int count


Name Type Description
name String

A String value that specifies the period name.

count Int32

An integer value that specifies the number of days.


Type Description

A DateTimePeriod object that is the created period.


To learn how to specify custom periods, see the description of the DateTimePeriod class.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CreateNextDays(String, Int32) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also