property Gantt.DefaultItemHeight as Long

Retrieves or sets a value that indicates the default item height.

TypeDescription
Long A long expression indicates the default item 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. Use the ItemAllowSizing property to specify whether the user can resize the item at runtime. Use the Height property to specify the height of the bars.