dashboard-devexpress-dot-dashboardcommon-dot-measurevalue-92bda4c9.md
Gets the measure display text.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public string DisplayText { get; }
Public ReadOnly Property DisplayText As String
| Type | Description |
|---|---|
| String |
A String value that is the measure display text.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DisplayText 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.
how-to-display-the-total-value-above-each-pie-chart/CS/TotalsInChartsExample/Form1.cs#L28
if (axisPoint != null) {
var total = data.GetSlice(axisPoint).GetValue(measure).DisplayText;
var view = series.View as PieSeriesView;
how-to-display-the-total-value-above-each-pie-chart/VB/TotalsInChartsExample/Form1.vb#L28
If axisPoint IsNot Nothing Then
Dim total = data.GetSlice(axisPoint).GetValue(measure).DisplayText
Dim view = TryCast(series.View, PieSeriesView)
See Also