DataGridViewCell.OnMouseMove(DataGridViewCellMouseEventArgs) Method
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.
Called when the mouse pointer moves within a cell.
protected:
virtual void OnMouseMove(System::Windows::Forms::DataGridViewCellMouseEventArgs ^ e);
protected virtual void OnMouseMove (System.Windows.Forms.DataGridViewCellMouseEventArgs e);
abstract member OnMouseMove : System.Windows.Forms.DataGridViewCellMouseEventArgs -> unit
override this.OnMouseMove : System.Windows.Forms.DataGridViewCellMouseEventArgs -> unit
Protected Overridable Sub OnMouseMove (e As DataGridViewCellMouseEventArgs)
Parameters
A DataGridViewCellMouseEventArgs that contains the event data.
Remarks
This method is similar to the DataGridView.OnCellMouseMove method. It is called in the same circumstances in which a DataGridView.CellMouseMove event is raised, but it does not actually raise the event.
Applies to
See also
- DataGridView
- OnCellMouseMove(DataGridViewCellMouseEventArgs)
- CellMouseMove
- OnMouseClick(DataGridViewCellMouseEventArgs)
- OnMouseDoubleClick(DataGridViewCellMouseEventArgs)
- OnMouseDown(DataGridViewCellMouseEventArgs)
- OnMouseEnter(Int32)
- OnMouseLeave(Int32)
- MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs)
- OnMouseUp(DataGridViewCellMouseEventArgs)
- DataGridViewCellMouseEventArgs
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for