TTreeView.DefaultItemHeight property
Default height for tree nodes in the control.
Declaration
property DefaultItemHeight:;Description
DefaultItemHeight is an
Integer property with the
default height for tree nodes displayed in the control. The default value for
the property is defined in the DefaultTreeNodeHeight constant, and assigned
in the constructor for the class instance.
When tvoAutoItemHeight has been included in the Options for the control, the property value is determined using the Font and the images for the control. A new value assigned to the property is ignored when automatic item height has been enabled.
The value may be changed when a layout adjustment policy is applied in DoAutoAdjustLayout, or when the UpdateDefaultItemHeight method is called. It is also updated (if needed) when values are assigned to the Images or StateImages properties.
Setting a new value for the property causes the control to be redrawn.
DefaultItemHeight is the value used in the TTreeNode.Height property for tree nodes added to the Items container.
This description is the one of ComCtrls.TCustomTreeView.DefaultItemHeight.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
