Expand Minimize

ChartEvents_MouseDownEventHandler Delegate

A Delegate type used to add an event handler for the MouseDown event. The 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)

[ComVisibleAttribute(false)]
public delegate void ChartEvents_MouseDownEventHandler(
	int Button,
	int Shift,
	int x,
	int y
)

Parameters

Button
Type: System.Int32
The mouse button that was pressed. Can be one of the following XlMouseButton constants: xlNoButton, xlPrimaryButton, xlSecondaryButton, or xlMiddleButton.
Shift
Type: System.Int32
The state of the SHIFT, CTRL, and ALT keys when the event occurred. Can be one of or a sum of the following values.

Value

Meaning

0 (zero)

No keys

1

SHIFT key

2

CTRL key

4

ALT key


x
Type: System.Int32
The X coordinate of the mouse pointer in chart object client coordinates.
y
Type: System.Int32
The Y coordinate of the mouse pointer in chart object client coordinates.

Community Additions

ADD
Show:
© 2014 Microsoft