dashboard-devexpress-dot-dashboardcommon-dot-masterfilterseteventargs-cc263efa.md
Gets the selected range in the Range Filter dashboard item.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public RangeFilterSelection SelectedRange { get; }
Public ReadOnly Property SelectedRange As RangeFilterSelection
| Type | Description |
|---|---|
| RangeFilterSelection |
A RangeFilterSelection object that is the selected range in the Range Filter dashboard item.
|
Use the MasterFilterSetEventArgs.SelectedValues property to obtain values of currently selected elements in the master filter item.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedRange 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.
wpf-dashboard-linked-interactivity/CS/WpfDashboard_LinkedInteractivity/ChildWindow.xaml.cs#L45
childDashboardControl.SetMasterFilter(itemName, e.SelectedValues);
if (e.SelectedRange != null)
childDashboardControl.SetRange(itemName, e.SelectedRange);
wpf-dashboard-linked-interactivity/VB/WpfDashboard_LinkedInteractivity/ChildWindow.xaml.vb#L40
End If
If e.SelectedRange IsNot Nothing Then
childDashboardControl.SetRange(itemName, e.SelectedRange)
See Also
MasterFilterSetEventArgs Class