Back to Devexpress

DashboardViewer.DashboardItemMouseDown Event

dashboard-devexpress-dot-dashboardwin-dot-dashboardviewer-28cf1b6e.md

latest7.9 KB
Original Source

DashboardViewer.DashboardItemMouseDown Event

Occurs when the mouse pointer is over the dashboard item and a mouse button is pressed.

Namespace : DevExpress.DashboardWin

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

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public event DashboardItemMouseActionEventHandler DashboardItemMouseDown
vb
Public Event DashboardItemMouseDown As DashboardItemMouseActionEventHandler

Event Data

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

PropertyDescription
DashboardItemNameGets the name of the dashboard item for which the event has been raised. Inherited from DashboardItemMouseEventArgs.
DataGets the dashboard item’s client data. Inherited from DashboardItemMouseHitTestEventArgs.

The event data class exposes the following methods:

MethodDescription
GetAxisPoint()Returns the axis point corresponding to the visual element located under the test point. Inherited from DashboardItemMouseHitTestEventArgs.
GetAxisPoint(String)Returns the axis point corresponding to the visual element located under the test point. Inherited from DashboardItemMouseHitTestEventArgs.
GetDeltas()Gets a list of deltas corresponding to the visual element located under the test point. Inherited from DashboardItemMouseHitTestEventArgs.
GetMeasures()Gets a list of measures corresponding to the visual element located under the test point. Inherited from DashboardItemMouseHitTestEventArgs.
GetSlice()Returns the slice of client data by the axis point corresponding to the visual element located under the test point. Inherited from DashboardItemMouseHitTestEventArgs.
GetSlice(String)Returns the slice of client data by the axis point corresponding to the visual element located under the test point. Inherited from DashboardItemMouseHitTestEventArgs.
GetUnderlyingData()Returns underlying data corresponding to the visual element located under the test point. Inherited from DashboardItemMouseHitTestEventArgs.
GetUnderlyingData(IList<String>)Returns underlying data corresponding to the visual element located under the test point. Inherited from DashboardItemMouseHitTestEventArgs.
GetUnderlyingData(String, IList<String>)Returns underlying data corresponding to the visual element located under the test point. Inherited from DashboardItemMouseHitTestEventArgs.
GetUnderlyingData(String)Returns underlying data corresponding to the visual element located under the test point. Inherited from DashboardItemMouseHitTestEventArgs.

Remarks

Use the DashboardItemMouseEventArgs.DashboardItemName property to obtain the dashboard item name for which the event has been raised. The DashboardItemMouseHitTestEventArgs.Data property returns the client data for this dashboard item.

The DashboardItemMouseHitTestEventArgs.GetAxisPoint method returns the axis point related to the clicked dashboard item element. To obtain the underlying data for this element, use the DashboardItemMouseHitTestEventArgs.GetUnderlyingData method.

The event has the following limitations:

Implements

DashboardItemMouseDown

See Also

DashboardItemMouseUp

DashboardViewer Class

DashboardViewer Members

DevExpress.DashboardWin Namespace