AfterUserResize Event

Fired after the user resizes a row or a column.

Syntax

Public Event AfterUserResize As CellEventHandler

Applies To

Grid Object

Parameters

The following parameters are available:

Parameter Description
Row The index of the row that was resized.
Col The index of the column that was resized.

Remarks

The user may resize rows and columns by dragging the edges of fixed rows and columns, depending on the setting of the AllowUserResizing property. The user may also double-click the edges of fixed rows and columns to automatically resize columns to fit the widest entries.

If the user is about to start resizing a row, the Row parameter contains the index of the row to be resized and the Col parameter contains -1.

If the user is about to start resizing a column, the Col parameter contains the index of the column to be resized and the Row parameter contains -1.

See Also

BeforeUserResize Event