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 被命名,但實際上並不直接引發事件。

適用於

另請參閱