dashboard-devexpress-dot-dashboardwin-dot-dashboarditemselectionchangedeventargs.md
Gets currently selected elements.
Namespace : DevExpress.DashboardWin
Assembly : DevExpress.Dashboard.v25.2.Win.dll
NuGet Package : DevExpress.Win.Dashboard
public List<AxisPointTuple> CurrentSelection { get; }
Public ReadOnly Property CurrentSelection As List(Of AxisPointTuple)
| Type | Description |
|---|---|
| List<AxisPointTuple> |
A list of AxisPointTuple objects corresponding to the selected elements.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the CurrentSelection 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.
fieldCategoryName1.FilterValues.Clear();
foreach (AxisPointTuple selectedElement in e.CurrentSelection) {
string category = selectedElement.GetAxisPoint().DimensionValue.Value.ToString();
{
selectionCache = e.CurrentSelection;
string companyName = e.CurrentSelection[0].GetAxisPoint().DimensionValue.Value.ToString();
fieldCategoryName1.FilterValues.Clear()
For Each selectedElement As AxisPointTuple In e.CurrentSelection
Dim category As String = selectedElement.GetAxisPoint().DimensionValue.Value.ToString()
Else
selectionCache = e.CurrentSelection
Dim companyName As String = e.CurrentSelection(0).GetAxisPoint().DimensionValue.Value.ToString()
See Also
DashboardItemSelectionChangedEventArgs Class