DateTimeFormat Enum
Lists the values used to specify the formatting applied to date-time values.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum DateTimeFormat
#Members
Name | Description |
---|---|
Short
|
Displays a date using the short-date format specified in your computer’s regional settings. |
Long
|
Displays a date using the long-date format specified in your computer’s regional settings. |
Short
|
Displays a time using the short-time format specified in your computer’s regional settings. |
Long
|
Displays a time using the long-time format specified in your computer’s regional settings. |
General
|
Displays a date and time using the general date-time settings determined by your computer’s regional settings. |
Month
|
Displays a date as a month name and day number using your computer’s regional settings (e. |
Month
|
Displays a date as a month name and year number using your computer’s regional settings (e. |
Quarter
|
Displays a date as a quarter value and year number using your computer’s regional settings (e. Note that you can apply formatting to the quarter’s value. To do this, set the Date q - Changes format to Roman numerals (e. qq - Changes format to Roman numerals with the Q prefix (e. Q - Changes format to Arabic numerals (e. QQ - Changes format to Arabic numerals with the Q prefix (e. |
Custom
|
The format string specified by the Date |
#Related API Members
The following properties accept/return DateTimeFormat values:
#Remarks
The values listed by the DateTimeFormat enumeration are used to set the DateTimeOptions.Format property.