DataGridViewCell.OnMouseMove(DataGridViewCellMouseEventArgs) 方法

定义

当鼠标指针在单元格内移动时调用。

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)

参数

注解

此方法类似于 DataGridView.OnCellMouseMove 方法。 它在引发事件的相同情况下 DataGridView.CellMouseMove 调用,但它实际上不会引发事件。

适用于

另请参阅