[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCustomTreeView.ExpandSignSize

Size of the expand / collapse (fold / unfold) indicators for tree nodes.

## Declaration

Source position: comctrls.pp line 3765

`public property TCustomTreeView.ExpandSignSize : Integer read GetExpandSignSize write SetExpandSignSize stored ExpandSignSizeIsStored;`

## Description

ExpandSignSize is an Integer property with the dimensions for the expand / collapse indicator drawn for tree nodes on the control. The default value for the property is -1, and indicates that an explicit value has not been assigned. When set to a positive non-zero value, it is scaled to the PPI (Pixels Per Inch) setting for the current Font. The value may be scaled in the DoAutoAdjustLayout method when specific layout policies are applied.

Use 0 to enable auto-sizing for the expand / collapse indicator.

The property value is ignored when ExpandSignType is set to tvestTheme; the dimensions are determined by theme element details.

Changing the value for the property causes the control to be redrawn.

Use ExpandSignWidth to set the line width used to draw the angle bracket (chevron) symbol on the indicator.

## See also

TCustomTreeView.ExpandSignType |  | Sets the drawing style for the expand / collapse (fold/unfold) indicators for tree nodes.
TCustomTreeView.ExpandSignWidth |  | Width of the lines drawn for the expand/collapse indicator when using the tvestAngleBracket drawing style.