Skip to main content

DataItemNumericFormat.CustomFormatString Property

Gets or sets a custom format string.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.1.Core.dll

NuGet Package: DevExpress.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 Desktop use two custom formats that are not fully compatible with each other. Desktop Dashboard Controls use .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. To set a custom format string, use the CustomFormatString property.

See Also