Skip to main content

DataItemDateTimeFormat.DateTimeFormat Property

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

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

#Declaration

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

#Property Value

Type Default Description
DateTimeFormat Default

A DateTimeFormat enumeration member that specifies the format type associated with the DateTimeGroupInterval.DateHourMinuteSecond 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 DateTimeFormat property is applied to dimension date-time values, if the Dimension.DateTimeGroupInterval property is set to DateTimeGroupInterval.DateHourMinuteSecond.

See Also