DateTimePeriod.CreateLastDays(String, Int32) Method
Creates the period whose duration is a specified number of days. The period includes days previous to the current day.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v22.2.Core.dll
NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design
Declaration
Parameters
Name | Type | Description |
---|---|---|
name | String | A String value that specifies the period name. |
count | Int32 | An integer value that specifies the number of days. |
Returns
Type | Description |
---|---|
DateTimePeriod | A DateTimePeriod object that is the created period. |
Remarks
To learn how to specify custom periods, see the description of the DateTimePeriod class.