Sign in Join
FPDoc Onlineexperiment

TCustomTreeView.ExpandSignSize property

Member of TCustomTreeViewpublicIn unit ComCtrls

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

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.