DataGridViewButtonCell::OnMouseMove Method (DataGridViewCellMouseEventArgs^)

 

Called when the mouse pointer moves while it is over the cell.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected:
virtual void OnMouseMove(
	DataGridViewCellMouseEventArgs^ e
) override

This method is similar to the Control::OnMouseMove method. It is called in the same circumstances in which a Control::MouseMove event is raised, but it does not actually raise the event.

Notes to Inheritors:

When overriding OnMouseMove in a derived class, be sure to call the base class's OnMouseMove method so that registered delegates receive the event.

.NET Framework
Available since 2.0
Return to top
Show: