Språk

DataGridViewCell.OnMouseDown(DataGridViewCellMouseEventArgs) Metod

Definition

Anropas när användaren håller ned en musknapp medan pekaren är på en cell.

protected:
 virtual void OnMouseDown(System::Windows::Forms::DataGridViewCellMouseEventArgs ^ e);
protected virtual void OnMouseDown(System.Windows.Forms.DataGridViewCellMouseEventArgs e);
abstract member OnMouseDown : System.Windows.Forms.DataGridViewCellMouseEventArgs -> unit
override this.OnMouseDown : System.Windows.Forms.DataGridViewCellMouseEventArgs -> unit
Protected Overridable Sub OnMouseDown (e As DataGridViewCellMouseEventArgs)

Parametrar

Kommentarer

Den här metoden liknar DataGridView.OnCellMouseDown metoden. Det anropas under samma omständigheter där en DataGridView.CellMouseDown händelse upphöjs, men den väcker inte händelsen.

Gäller för

Se även