Back to Devexpress

DashboardParameterDescriptor.SelectedValues Property

dashboard-devexpress-dot-dashboardwin-dot-dashboardparameterdescriptor-b7800bbf.md

latest3.2 KB
Original Source

DashboardParameterDescriptor.SelectedValues Property

Gets or sets a collection of currently selected parameter values.

Namespace : DevExpress.DashboardWin

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

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public IEnumerable SelectedValues { get; set; }
vb
Public Property SelectedValues As IEnumerable

Property Value

TypeDescription
IEnumerable

A collection of currently selected parameter values.

|

Remarks

Use the DashboardParameterDescriptor.SelectedValue property to obtain possible parameter value.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedValues 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-pie-chart-others-slice/CS/PieChartOtherSliceExample/Form1.cs#L29

csharp
var stringValues = e.SelectedValues.Select(value => value[1].ToString());
    viewer.Parameters["ParamSalesPerson"].SelectedValues = stringValues;
}

how-to-display-pie-chart-others-slice/VB/PieChartOtherSliceExample/Form1.vb#L24

vb
Dim stringValues = e.SelectedValues.[Select](Function(value) value(1).ToString())
    viewer.Parameters("ParamSalesPerson").SelectedValues = stringValues
End If

See Also

SelectedValue

Specify Dashboard Parameter Values in the WinForms Designer

Manage Dashboard Parameters in the WinForms Viewer Control

DashboardParameterDescriptor Class

DashboardParameterDescriptor Members

DevExpress.DashboardWin Namespace