Back to Devexpress

MeasureValue.Value Property

dashboard-devexpress-dot-dashboardcommon-dot-measurevalue.md

latest5.8 KB
Original Source

MeasureValue.Value Property

Gets the measure value.

Namespace : DevExpress.DashboardCommon

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

NuGet Package : DevExpress.Dashboard.Core

Declaration

csharp
public object Value { get; }
vb
Public ReadOnly Property Value As Object

Property Value

TypeDescription
Object

A measure value.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the Value 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.

winforms-dashboard-obtain-dashboard-item-client-data/CS/Dashboard_ClientDataCards_Win/Form1.cs#L38

csharp
DeltaValue deltaValue = clickedItemData.GetSlice(point).GetDeltaValue(delta);
if (deltaValue.ActualValue.Value != null &&
    deltaValue.TargetValue.Value != null) {

wpf-dashboard-how-to-obtain-clicked-item-data/CS/Dashboard_ClientDataCards_Wpf/MainWindow.xaml.cs#L42

csharp
DeltaValue deltaValue = clickedItemData.GetSlice(point).GetDeltaValue(delta);
if (deltaValue.ActualValue.Value != null &&
    deltaValue.TargetValue.Value != null)

wpf-dashboard-how-to-embed-devexpress-control/CS/GanttSample/GanttViewModel.cs#L79

csharp
GanttTask currentTask = tasks.Where(t => t.Id == keys.IndexOf(currentKey)).First();
DateTime start = (DateTime)data.GetSlice(row).GetValue(measures[0]).Value;
DateTime finish = (DateTime)data.GetSlice(row).GetValue(measures[1]).Value;

dashboard-constant-lines/CS/ConstantLineExtension.WPF/ConstantLinesConverter.cs#L49

csharp
if (measure != null)
        line.Value = data.GetValue(measure).Value;
}

asp-net-web-forms-dashboard-custom-properties-sample/CS/WebFormsDashboardCustomPropertiesSample/Export/ChartConstantLinesExtension.cs#L49

csharp
if(measure != null)
        line.AxisValue = data.GetValue(measure).Value;
} else

winforms-dashboard-obtain-dashboard-item-client-data/VB/Dashboard_ClientDataCards_Win/Form1.vb#L38

vb
Dim deltaValue As DeltaValue = clickedItemData.GetSlice(point).GetDeltaValue(delta)
If deltaValue.ActualValue.Value IsNot Nothing AndAlso deltaValue.TargetValue.Value IsNot Nothing Then
    row("Argument") = point.Value

wpf-dashboard-how-to-obtain-clicked-item-data/VB/Dashboard_ClientDataCards_Wpf/MainWindow.xaml.vb#L36

vb
Dim deltaValue As DeltaValue = clickedItemData.GetSlice(point).GetDeltaValue(delta)
If deltaValue.ActualValue.Value IsNot Nothing AndAlso deltaValue.TargetValue.Value IsNot Nothing Then
    row("Argument") = point.Value

wpf-dashboard-how-to-embed-devexpress-control/VB/GanttSample/GanttViewModel.vb#L89

vb
Dim currentTask As GanttTask = tasks.Where(Function(t) t.Id = keys.IndexOf(currentKey)).First()
Dim start As Date = DirectCast(data.GetSlice(row).GetValue(measures(0)).Value, Date)
Dim finish As Date = DirectCast(data.GetSlice(row).GetValue(measures(1)).Value, Date)

asp-net-web-forms-dashboard-custom-properties-sample/VB/WebFormsDashboardCustomPropertiesSample/Export/ChartConstantLinesExtension.vb#L47

vb
If measure IsNot Nothing Then
    line.AxisValue = data.GetValue(measure).Value
End If

See Also

DisplayText

MeasureValue Class

MeasureValue Members

DevExpress.DashboardCommon Namespace