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 呼叫,但實際上不會引發事件。

適用於

另請參閱