语言

DataGridViewCheckBoxCell.OnMouseDown(DataGridViewCellMouseEventArgs) 方法

定义

在指针位于单元格上时按住鼠标按钮时调用。

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

参数

注解

此方法会导致单元格的用户界面(UI)更新。

此方法类似于 Control.OnMouseDown 该方法。 它在引发事件的相同情况下 Control.MouseDown 调用,但实际上不会引发该事件。

适用于

另请参阅