FirstRow Property

       

Returns or sets a value containing the bookmark for the first visible row in the DataGrid control or Split object. Not available at design time.

Syntax

object.FirstRow [= value]

The FirstRow property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value A string expression containing a bookmark corresponding to the first visible row in the DataGrid control.

Remarks

For a DataGrid control, setting the FirstRow property causes the grid to scroll so that the specified row becomes the topmost row. If a grid contains multiple splits, then the topmost row changes in each split, even if the splits have different ScrollGroup property settings.

For a Split object, setting the FirstRow property causes the specified row to become the topmost row for that split only.