Share via


Visual Basic: DataGrid Control

HoldFields Method

See Also   Example   Applies To

Sets the current column/field layout as the customized layout.

Syntax

object**.HoldFields**

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

The HoldFields method sets the current column/field layout as the customized layout so that subsequent ReBind operations will use the current layout for display. You can resume the grid's automatic layout behavior by invoking the ClearFields method.