Share via


ChartEvents_Event.MouseDown EventĀ 

Occurs when a mouse button is pressed while the pointer is over a chart.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

Usage

WithEvents chartEvents_Event1 As ChartEvents_Event
Function chartEvents_Event1_MouseDown(Button As Integer, _
    Shift As Integer, _
    x As Integer, _
    y As Integer) As Void
    Handles chartEvents_Event1.MouseDown
End Function

Syntax

Event MouseDown As ChartEvents_MouseDownEventHandler
event ChartEvents_MouseDownEventHandler MouseDown;
event ChartEvents_MouseDownEventHandler^ MouseDown;
 void add_MouseDown(ChartEvents_MouseDownEventHandler handler);
 void remove_MouseDown(ChartEvents_MouseDownEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

ChartEvents_Event Interface
Microsoft.Office.Interop.Excel Namespace

Other Resources

ChartEvents_Event Members