[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Default height for tree nodes in the control.
Source position: comctrls.pp line 3739
public property TCustomTreeView.DefaultItemHeight : Integer |
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.
|
The set of options enabled in the tree view control. |
|
|
Image list which holds icons for the tree nodes in Items. |
|
|
Image list with the bitmaps used to represent the state for nodes in the tree. |
|
|
The container with the TTreeNode instances for the control. |
|
|
Calculates and updates the value in the DefaultItemHeight property. |
|
|
The height for the node including its text, images, and indicators. |
|
|
Implements a container for TTreeNode instances. |
|
|
Default value used as the height for a TTreeNode instance. |
|
|
The font to be used for text display in this control. |
Version 3.2 | Generated 2024-02-25 | Home |