TCustomText.TextColor Property
Specifies label text color (with support for transparency).
Declaration
property TextColor: TdxAlphaColor read; write; default TdxAlphaColors.Default;
Property Value
| Type | Default | Description |
|---|---|---|
| TdxAlphaColor | Default | The color applied to label text. |
Remarks
Use the TextColor property to define label text color explicitly. To specify font typeface and size, use FontName and FontSize properties.
Value Type
The TextColor property accepts TdxAlphaColor values instead of TColor to support transparency.
You can use the TdxAlphaColors record declared in the dxCoreGraphics unit to obtain compatible predefined colors or create custom TdxAlphaColor values. Alternatively, you can call the dxMakeAlphaColor function or other global methods declared in the same unit.
Default Value
The TextColor property’s default value is TdxAlphaColors.Default.
The default TextColor property value indicates that text color depends on global skin and palette settings (defined using the Application Settings dialog or a TdxSkinController component).