DataGridViewCell.OnMouseDown(DataGridViewCellMouseEventArgs) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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
En DataGridViewCellMouseEventArgs som innehåller händelsedata.
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
- DataGridView
- OnCellMouseDown(DataGridViewCellMouseEventArgs)
- CellMouseDown
- OnMouseClick(DataGridViewCellMouseEventArgs)
- OnMouseDoubleClick(DataGridViewCellMouseEventArgs)
- MouseDownUnsharesRow(DataGridViewCellMouseEventArgs)
- OnMouseEnter(Int32)
- OnMouseLeave(Int32)
- OnMouseMove(DataGridViewCellMouseEventArgs)
- OnMouseUp(DataGridViewCellMouseEventArgs)
- DataGridViewCellMouseEventArgs