Edit

Share via


ChartEvents_MouseUpEventHandler Delegate

Definition

A Delegate type used to add an event handler for the MouseUp event. The MouseUp event occurs when a mouse button is released while the pointer is over a chart.

public delegate void ChartEvents_MouseUpEventHandler(int Button, int Shift, int x, int y);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void ChartEvents_MouseUpEventHandler(int Button, int Shift, int x, int y);
Public Delegate Sub ChartEvents_MouseUpEventHandler(Button As Integer, Shift As Integer, x As Integer, y As Integer)

Parameters

Button
Int32

The mouse button that was released. Can be one of the following XlMouseButton constants: xlNoButton, xlPrimaryButton, xlSecondaryButton, or xlMiddleButton.

Shift
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.ValueMeaning0 (zero)No keys1SHIFT key2CTRL key4ALT key

x
Int32

The X coordinate of the mouse pointer in chart object client coordinates.

y
Int32

The Y coordinate of the mouse pointer in chart object client coordinates.

Attributes

Applies to