Skip to main content

DataItemDateTimeFormat.HourFormat Property

Gets or sets the format type associated with the DateTimeGroupInterval.Hour group interval.

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

#Declaration

[DefaultValue(HourFormat.Default)]
public HourFormat HourFormat { get; set; }

#Property Value

Type Default Description
HourFormat Default

An HourFormat enumeration member that specifies the format type associated with the DateTimeGroupInterval.Hour group interval.

Available values:

Name Description
Default

The default hour pattern.

Short

Short hour pattern, 24-hour format.

6/15/2009 1:45:30 PM -> 13

Long

Long hour pattern, 12-hour format.

6/15/2009 1:45:30 PM -> 1:00 PM

#Remarks

The format type defined by the HourFormat property is applied to dimension date-time values if the Dimension.DateTimeGroupInterval property is set to DateTimeGroupInterval.Hour.

See Also