Editare

Partajați prin


DataGridView.OnColumnDividerDoubleClick Method

Definition

Raises the ColumnDividerDoubleClick event.

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

Parameters

Remarks

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

The OnColumnDividerDoubleClick 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 OnColumnDividerDoubleClick(DataGridViewColumnDividerDoubleClickEventArgs) in a derived class, be sure to call the base class' OnColumnDividerDoubleClick(DataGridViewColumnDividerDoubleClickEventArgs) method so that registered delegates receive the event.

Applies to

See also