Back to Devexpress

MasterFilterSetEventArgs.SelectedRange Property

dashboard-devexpress-dot-dashboardcommon-dot-masterfilterseteventargs-cc263efa.md

latest3.0 KB
Original Source

MasterFilterSetEventArgs.SelectedRange Property

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

Declaration

csharp
public RangeFilterSelection SelectedRange { get; }
vb
Public ReadOnly Property SelectedRange As RangeFilterSelection

Property Value

TypeDescription
RangeFilterSelection

A RangeFilterSelection object that is the selected range in the Range Filter dashboard item.

|

Remarks

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

csharp
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

vb
End If
If e.SelectedRange IsNot Nothing Then
    childDashboardControl.SetRange(itemName, e.SelectedRange)

See Also

SelectedValues

MasterFilterSetEventArgs Class

MasterFilterSetEventArgs Members

DevExpress.DashboardCommon Namespace