Skip to main content

DateTimeOptions.Format Property

Gets or sets a value that specifies the form of date-time values' representation.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

[XtraSerializableProperty]
public DateTimeFormat Format { get; set; }

#Property Value

Type Description
DateTimeFormat

A DateTimeFormat enumeration value.

#Property Paths

You can access the DateTimeOptions.Format property from the following objects:

Object Type Path to Format
PointOptions
PointOptions

#Remarks

Use the Format property, to define the appropriate format for date-time values representation in the axis labels, series point labels or in the legend.

If the Format property is set to DateTimeFormat.Custom, the DateTimeOptions.FormatString property is used to determine the date-time format.

See Also