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

DataItemNumericFormat.CustomFormatString Property

Gets or sets a custom format string.

Namespace: DevExpress.DashboardCommon

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

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

Declaration

[DefaultValue(null)]
public string CustomFormatString { get; set; }

Property Value

Type Default Description
String *null*

A custom format string.

Remarks

You can create a custom numeric format string, which consists of one or more custom numeric specifiers, to define how to format numeric data. A custom numeric format string is any format string that is not a standard numeric format string.

The Dashboard Controls for Web and for the Desktop use two custom formats that are not fully compatible with each other. Desktop Dashboard Controls uses the .NET formatting, while the Web Dashboard Control uses DevExtreme formatting when it displays elements and .NET formatting for export. Use the CustomNumericFormatMode property to enable a custom format at your own risk. The CustomFormatString property provides a custom format string.

See Also