dashboard-devexpress-dot-dashboardcommon-dot-dashboard-32345324.md
Gets or sets the default currency for the Dashboard.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
[DefaultValue(null)]
public string CurrencyCultureName { get; set; }
<DefaultValue(Nothing)>
Public Property CurrencyCultureName As String
| Type | Default | Description |
|---|---|---|
| String | null |
A String that specifies the name of a culture that defines the currency format settings.
|
The CurrencyCultureName property is in effect for data items whose DataItemNumericFormat.CurrencyCultureName property is set to null ( Nothing in Visual Basic).
By default, the CurrencyCultureName property is explicitly set to the culture of the current thread (the thread that runs the Designer).
The CurrencyCultureName property can also be set to null , which means that when the dashboard is presented in the Viewer, the culture of the thread that runs the Viewer is used for all data items whose DataItemNumericFormat.CurrencyCultureName property is set to null.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CurrencyCultureName property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winviewer-how-to-create-custom-card-layout-template/CS/ViewerForm.cs#L19
dashboard.Title.Text = "Card Custom Template";
dashboard.CurrencyCultureName = "en-US";
winviewer-how-to-create-custom-card-layout-template/VB/ViewerForm.vb#L16
dashboard.Title.Text = "Card Custom Template"
dashboard.CurrencyCultureName = "en-US"
Dim dataSource As New DashboardObjectDataSource()
See Also