ChartEvents_MouseMoveEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Delegate type used to add an event handler for the MouseMove event. The MouseMove event occurs when the position of the mouse pointer changes over a chart.
public delegate void ChartEvents_MouseMoveEventHandler(int Button, int Shift, int x, int y);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void ChartEvents_MouseMoveEventHandler(int Button, int Shift, int x, int y);
Public Delegate Sub ChartEvents_MouseMoveEventHandler(Button As Integer, Shift As Integer, x As Integer, y As Integer)
Parameters
- Button
- Int32
The mouse button that was pressed. 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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기