AfterMoveColumn Event

Fired after a column is moved by dragging on the header.

Syntax

Public Event AfterMoveColumn As AfterMoveColumnEventHandler

Applies To

Grid Object

Parameters

The following parameters are available:

Parameter Description
Col The index of the column that was moved.
Position The new position of the column.

Remarks

The user may move rows and columns using the mouse, depending on the setting of the AllowUserReorder property.

This event is useful if you want to synchronize some other user-interface element to the columns on a grid, or to keep track of a column's position.

To prevent the user from moving certain columns to certain positions, use the BeforeMoveColumn event instead.

See Also

AllowUserReorder Property , BeforeMoveColumn Event