ChartEvents_MouseUpEventHandler Delegate
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.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ChartEvents_MouseUpEventHandler ( _
Button As Integer, _
Shift As Integer, _
x As Integer, _
y As Integer _
)
'Usage
Dim instance As New ChartEvents_MouseUpEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void ChartEvents_MouseUpEventHandler(
int Button,
int Shift,
int x,
int y
)
Parameters
Button
Type: System.Int32The mouse button that was released. Can be one of the following XlMouseButton constants: xlNoButton, xlPrimaryButton, xlSecondaryButton, or xlMiddleButton.
Shift
Type: System.Int32The 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.Int32The X coordinate of the mouse pointer in chart object client coordinates.
y
Type: System.Int32The Y coordinate of the mouse pointer in chart object client coordinates.