Skip to main content

TdxCustomPanel.ParentColor Property

Specifies if the panel uses its parent’s color as a background color.

Declaration

property ParentColor; default False;

Property Value

Type Default Description
Boolean False

True if the panel uses its parent’s color as a background color; otherwise, False.

Remarks

Set the ParentColor property to True to use the parent control’s color as a background color if the Color property is set to clDefault. The ParentColor property value changes to False every time the Color property value changes.

The ParentColor property’s default value is False.

See Also