Back to Devexpress

DashboardControl.DashboardItemVisualInteractivity Event

dashboard-devexpress-dot-dashboardwpf-dot-dashboardcontrol-21e063ed.md

latest6.9 KB
Original Source

DashboardControl.DashboardItemVisualInteractivity Event

Allows you to provide custom visual interactivity for data-bound dashboard items that support element selection and highlighting.

Namespace : DevExpress.DashboardWpf

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

NuGet Package : DevExpress.Wpf.Dashboard

Declaration

csharp
public event DashboardItemVisualInteractivityWpfEventHandler DashboardItemVisualInteractivity
vb
Public Event DashboardItemVisualInteractivity As DashboardItemVisualInteractivityWpfEventHandler

Event Data

The DashboardItemVisualInteractivity event's data class is DashboardItemVisualInteractivityWpfEventArgs. The following properties provide information specific to this event:

PropertyDescription
DashboardItemNameGets the component name of the dashboard item for which the event was raised. Inherited from DashboardItemVisualInteractivityBaseEventArgs.
EnableHighlightingGets or sets whether to enable highlighting for the current dashboard item. Inherited from DashboardItemVisualInteractivityBaseEventArgs.
SelectionModeGets or sets the selection mode for dashboard item elements. Inherited from DashboardItemVisualInteractivityBaseEventArgs.

Remarks

The DashboardItemVisualInteractivity event allows you to provide custom visual interactivity for data-bound dashboard items that support element selection and highlighting. This event is raised for dashboard items with Master Filtering and Drill Down features disabled.

Use the e.DashboardItemName property to obtain the name of the dashboard item that is the event’s source.

To specify the selection mode and manage highlighting, use the e.SelectionMode and e.EnableHighlighting properties respectively.

The following table lists possible target axes for each dashboard item and supported interactivity capabilities:

|

Dashboard Item

|

Target Axes

|

Selection

|

Highlighting

| | --- | --- | --- | --- | |

GridDashboardItem

|

DashboardDataAxisNames.DefaultAxis

|

| | |

ChartDashboardItem

|

DashboardDataAxisNames.ChartArgumentAxis

DashboardDataAxisNames.ChartSeriesAxis

|

|

| |

ScatterChartDashboardItem

|

DashboardDataAxisNames.ChartArgumentAxis

|

|

| |

PieDashboardItem

|

DashboardDataAxisNames.ChartArgumentAxis

DashboardDataAxisNames.ChartSeriesAxis

|

|

| |

CardDashboardItem

|

DashboardDataAxisNames.DefaultAxis

|

|

| |

GaugeDashboardItem

|

DashboardDataAxisNames.DefaultAxis

|

|

| |

MapDashboardItem

|

DashboardDataAxisNames.DefaultAxis

|

| | |

TreemapDashboardItem

|

DashboardDataAxisNames.DefaultAxis

|

|

|

Note

A Grid dashboard item with enabled Cell Merging does not support custom interactivity.

See Also

DashboardItemSelectionChanged

DashboardControl Class

DashboardControl Members

DevExpress.DashboardWpf Namespace