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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.