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

DataItemDateTimeFormat.YearFormat Property

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

Namespace: DevExpress.DashboardCommon

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

Declaration

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

Property Value

Type Default Description
YearFormat **Default**

A YearFormat enumeration member that specifies the format type associated with the DateTimeGroupInterval.Year group interval.

Available values:

Name Description
Default

The default year pattern.

Full

The full year pattern.

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

Abbreviated

The year, from 00 to 99.

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

Remarks

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

See Also