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.

適用於

另請參閱