แก้ไข

แชร์ผ่าน


DataGridView.OnRowDividerDoubleClick Method

Definition

Raises the RowDividerDoubleClick event.

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

Parameters

Remarks

Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

The OnRowDividerDoubleClick method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notes to Inheritors

When overriding OnRowDividerDoubleClick(DataGridViewRowDividerDoubleClickEventArgs) in a derived class, be sure to call the base class' OnRowDividerDoubleClick(DataGridViewRowDividerDoubleClickEventArgs) method so that registered delegates receive the event.

Applies to

See also