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

# TCustomTreeView.Color

Color used to fill the background on the control display area.

## Declaration

Source position: comctrls.pp line 3760

`public property TCustomTreeView.Color : TColor default clWindow;`

## Description

Color is a TColor property with the background color for the tree view control. The default value for the property is clWindow. Changing the value for the property causes the control to be redrawn.

Color contains the same value as the BackgroundColor property. Color / BackgroundColor is used when the Paint method is called to draw the control. It provides the background color for both the control and its tree nodes.

Use SelectionColor to specify the background color for the selected tree node(s) on the control.

Use Font, DisabledFontColor, and HotTrackColor to control the font colors used for tree node text on the control.

## See also

TCustomTreeView.BackgroundColor |  | Color of the background area on the control.
TCustomTreeView.Paint |  | Renders the tree view control.
TCustomTreeView.DoPaint |  | Implements the Paint method for the control.
TCustomTreeView.DoPaintNode |  | Renders the specified tree node to the canvas for the control.
TControl.Color |  | The background color for the control.