DataGridViewCell.OnMouseDown(DataGridViewCellMouseEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the user holds down a mouse button while the pointer is on a 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)
Parameters
A DataGridViewCellMouseEventArgs that contains the event data.
Remarks
This method is similar to the DataGridView.OnCellMouseDown method. It is called in the same circumstances in which a DataGridView.CellMouseDown event is raised, but it does not actually raise the event.
Applies to
See also
- DataGridView
- OnCellMouseDown(DataGridViewCellMouseEventArgs)
- CellMouseDown
- OnMouseClick(DataGridViewCellMouseEventArgs)
- OnMouseDoubleClick(DataGridViewCellMouseEventArgs)
- MouseDownUnsharesRow(DataGridViewCellMouseEventArgs)
- OnMouseEnter(Int32)
- OnMouseLeave(Int32)
- OnMouseMove(DataGridViewCellMouseEventArgs)
- OnMouseUp(DataGridViewCellMouseEventArgs)
- DataGridViewCellMouseEventArgs
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.