Back to Devexpress

DateTimeOptions.FormatString Property

wpf-devexpress-dot-xpf-dot-charts-dot-datetimeoptions-5346f81d.md

latest2.3 KB
Original Source

DateTimeOptions.FormatString Property

Gets or sets the pattern for formatting date-time values.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public string FormatString { get; set; }
vb
Public Property FormatString As String

Property Value

TypeDescription
String

A String value that represents the format pattern.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to FormatString
PointOptions

.ArgumentDateTimeOptions .FormatString

| | PointOptions |

.ValueDateTimeOptions .FormatString

|

Remarks

Use the FormatString property, to specify a custom format for the date-time values displayed by axis labels, series point labels or in the legend, when their DateTimeOptions.Format property is set to DateTimeFormat.Custom

Standard date-time format specifiers for composing the format pattern are described in the Date and Time Format Strings topics in MSDN.

See Also

Format

DateTimeOptions Class

DateTimeOptions Members

DevExpress.Xpf.Charts Namespace