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

DataItemDateTimeFormat.DateHourFormat Property

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

Namespace: DevExpress.DashboardCommon

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

Declaration

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

Property Value

Type Default Description
DateTimeFormat **Default**

A DateTimeFormat enumeration member that specifies the format type associated with the DateTimeGroupInterval.DateHour group interval.

Available values:

Name Description
Default

The default date-time formatting.

Long

Long date pattern, long time pattern (if applicable).

6/15/2009 1:45:30 PM -> Monday, June 15, 2009 1:45:30 PM (en-US)

Short

Short date pattern, long time pattern (if applicable).

6/15/2009 1:45:30 PM -> 6/15/2009 1:45:30 PM (en-US)

TimeOnly

Long time pattern.

1:45:30 PM (en-US)

Remarks

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

See Also