property Grid.DefaultItemHeight as Long
Retrieves or sets a value that indicates the default item height.

TypeDescription
Long A long expression that indicates the default item's height.

The DefaultItemHeight property specifies the height of the items. Changing the property fails if the control contains already items. You can change the DefaultItemHeight property at design time, or at runtime, before adding any new items to the Items collection. Use the ItemHeight property to specify the height of a specified item. Use the ScrollBySingleLine property when using the items with different heights. Use the CellSingleLine property to specify whether the cell displays the caption using multiple lines. If the column's EditType property is PictureType, the DefaultItemHeight property defines the height of the cell inside picture. In CardView mode, the DefaultItemHeight property determines the height in pixels of the title of the cards. Use the exCardViewTitleFormat option to hide the titles in CardView mode.