Skip to main content

DataItemNumericFormat.CurrencyCultureName Property

Gets or sets the name of a culture that defines the currency symbol and format.

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

#Declaration

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

#Property Value

Type Default Description
String null

A String that specifies the name of a culture that defines the currency format settings.

#Remarks

If the CurrencyCultureName property is set to null (Nothing in Visual Basic), the currency symbol and format are defined by the Dashboard.CurrencyCultureName property.

For a list of culture names, refer to the Available Language Packs for Windows Microsoft topic.

If you specify an invalid culture name, the DevExpress.DashboardCommon.InvalidCultureNameException is thrown.

To enable currency formatting, set the DataItemNumericFormat.FormatType property to DataItemNumericFormatType.Currency.

See Also