TdxLayoutItemControlOptions.AutoColor Property
Specifies whether a control inherits item color within an item.
Declaration
property AutoColor: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
If the AutoColor property is set to True, the color of a control (TControl.Color property) is the same as the color of the item which wraps it. Usually controls like TEdit, TMemo are not auto colored (their color is clWindow). An example of an auto colored control is – TCheckBox.
When creating an item, the AutoColor property value is automatically set and depends upon the control’s ParentColor property value and Color property value (if the Color property is supported).
The default value of this property is False.
See Also