System.Windows.Forms.DataGridView.RowDividerDoubleClick Event

Occurs when the user double-clicks the divider between two rows.

Syntax

public event DataGridViewRowDividerDoubleClickEventHandler RowDividerDoubleClick

Remarks

You can use this event to customize the automatic sizing behavior that occurs when a user double-clicks a row divider.

The row DataGridViewColumn.DividerWidth property does not extend the area in which a user can double-click. If the height of a divider has been increased through the use of this property, this event occurs when the user double-clicks the boundary between the divider and the adjacent column.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0