DataGridViewCell.OnMouseMove(DataGridViewCellMouseEventArgs) DataGridViewCell.OnMouseMove(DataGridViewCellMouseEventArgs) DataGridViewCell.OnMouseMove(DataGridViewCellMouseEventArgs) DataGridViewCell.OnMouseMove(DataGridViewCellMouseEventArgs) Method

定义

当鼠标指针在单元格内移动时调用。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)

参数

注解

此方法类似DataGridView.OnCellMouseMove于方法。This method is similar to the DataGridView.OnCellMouseMove method. 在引发DataGridView.CellMouseMove事件的相同情况下,它会被调用,但实际上不会引发事件。It is called in the same circumstances in which a DataGridView.CellMouseMove event is raised, but it does not actually raise the event.

适用于

另请参阅