Skip to main content
A newer version of this page is available. .

DataItemDateTimeFormat.HourFormat Property

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

Namespace: DevExpress.DashboardCommon

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

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