dashboard-devexpress-dot-dashboardwin-dot-dashboardparameterdescriptor-b7800bbf.md
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
public IEnumerable SelectedValues { get; set; }
Public Property SelectedValues As IEnumerable
| Type | Description |
|---|---|
| IEnumerable |
A collection of currently selected parameter values.
|
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
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
Dim stringValues = e.SelectedValues.[Select](Function(value) value(1).ToString())
viewer.Parameters("ParamSalesPerson").SelectedValues = stringValues
End If
See Also
Specify Dashboard Parameter Values in the WinForms Designer
Manage Dashboard Parameters in the WinForms Viewer Control
DashboardParameterDescriptor Class