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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.