dashboard-devexpress-dot-dashboardwpf-dot-dashboardcontrol-3cbed971.md
Occurs when the mouse pointer enters the dashboard item.
Namespace : DevExpress.DashboardWpf
Assembly : DevExpress.Dashboard.v25.2.Wpf.dll
NuGet Package : DevExpress.Wpf.Dashboard
public event DashboardItemMouseWpfEventHandler DashboardItemMouseLeave
Public Event DashboardItemMouseLeave As DashboardItemMouseWpfEventHandler
The DashboardItemMouseLeave event's data class is DashboardItemMouseWpfEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| DashboardItemName | Gets the name of the dashboard item. |
Use the e.DashboardItemName property to obtain the dashboard item name for which the event is raised.
This event does not occur when the mouse pointer hovers over the scroll area and space between elements in the following dashboard items: cards in the CardDashboardItem, pies in the PieDashboardItem and gauges in the GaugeDashboardItem. This event does not occur when the mouse pointer hovers over the image paddings in the ImageDashboardItem.
View Example: How to obtain the dashboard item's underlying data when the mouse hovers over it
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DashboardItemMouseLeave event.
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.
DashboardItemMouseEnter="DashboardControl_DashboardItemMouseEnter"
DashboardItemMouseLeave="DashboardControl_DashboardItemMouseLeave"
DashboardItemMouseMove="DashboardControl_DashboardItemMouseMove"
#line 20 "..\..\..\MainWindow.xaml"
((DevExpress.DashboardWpf.DashboardControl)(target)).DashboardItemMouseLeave += new DevExpress.DashboardWpf.DashboardItemMouseWpfEventHandler(this.DashboardControl_DashboardItemMouseLeave);
#ExternalSource("..\..\MainWindow.xaml",20)
AddHandler CType(target,DevExpress.DashboardWpf.DashboardControl).DashboardItemMouseLeave, New DevExpress.DashboardWpf.DashboardItemMouseWpfEventHandler(AddressOf Me.DashboardControl_DashboardItemMouseLeave)
See Also