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

XlFormattingObject.FormatString Property

Gets the pattern for formatting values.

Namespace: DevExpress.Export

Assembly: DevExpress.Printing.v19.2.Core.dll

Declaration

public string FormatString { get; set; }

Property Value

Type Description
String

The string representing the format pattern.

Remarks

Use the FormatString property to specify the format pattern for formatting values. Standard format specifiers for composing the format pattern are described in the Standard Numeric Format Strings and Date and Time Format Strings topics in MSDN.

Prior to setting the format string, you need to set the XlFormattingObject.FormatType property. FormatType contains information on how to interpret the format string.

See Formatting Values to learn more.

See Also