RowHeight Property

       

Returns or sets the height of all rows in the DataGrid control. RowHeight is always in the same unit of measure as the container for the DataGrid control.

Syntax

object.RowHeight[= value ]

The RowHeight property syntax has these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Value A numeric expression specifying height.

Remarks

Users can change the RowHeight of any row at run time by placing the mouse pointer on a gridline between rows and dragging.