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

XlNumberFormat.FormatCode Property

Gets the format code corresponding to the current number format.

Namespace: DevExpress.Export.Xl

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

public string FormatCode { get; }

Property Value

Type Description
String

A String value that is the format string.

Remarks

Use the FormatCode property to get the format string used by the XlNumberFormat object to format a numeric value in a cell. For more information on how to apply a number format to a cell value, refer to the How to: Specify Number Format for Cell Content example.

See Also