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

TCustomTreeView.ExpandSignColor

Color used to paint expand / collapse (fold / unfold) indicators for tree nodes.

Declaration

Source position: comctrls.pp line 3741

public property TCustomTreeView.ExpandSignColor : TColor
  read FExpandSignColor
  write FExpandSignColor
  default clWindowFrame;

Description

ExpandSignColor is a TColor property with the color used to paint the expand / collapse indicators for tree nodes on the control. The default value for the property is clWindowFrame.

ExpandSignColor is used in the DoPaintNode method to render a TTreeNode instance with child node(s). It is assigned as the Pen color in Canvas, and controls the color of the lines drawn for the indicator. When ExpandSignType is set to tvestArrowFill, it is assigned as the Brush color in Canvas, and controls the fill color for the indicator.

See also

TCustomTreeView.DoPaintNode

  

Renders the specified tree node to the canvas for the control.

TCustomTreeView.ExpandSignType

  

Sets the drawing style for the expand / collapse (fold/unfold) indicators for tree nodes.

TTreeNode.HasChildren

  

Indicates whether the tree node has child nodes.

TTreeViewExpandSignType

  

Represents symbols types used for expanded or collapsed tree nodes.

TColor

  

Color type used by most LCL drawing functions.

TCustomControl.Canvas

  

The drawing surface for the control.


Version 3.2 Generated 2024-02-25 Home