TcxXPTaskBarStyle.LightColor Property
Specifies the color of the dots displayed within the hot zone.
Declaration
property LightColor: TColor read; write; default clWindow;
Property Value
Type | Default |
---|---|
TColor | clWindow |
Remarks
The XP task bar hot zone is represented by a set of dots each with its own shadow. The color of dots is specified by the LightColor property and the shadow color using ShadowColor. Additionally, you can change the background color of the hot zone by specifying the background color of the owning splitter control. Use the Color property of the control to change it.
Usually, you will want to assign shades of a single color to the LightColor, ShadowColor and the control’s Color property. For instance, if you need dots to look lowered, you need to assign a light shade to the LightColor and a dark shade to the ShadowColor properties. Note that the best appearance is achieved when the background color is lighter than the ShadowColor and darker than the LightColor. The image below displays an example. Properties are set to shades of green, blue and red.
If the LightColor property is set to a shade darker than the ShadowColor (and the control’s Color property is between them), the hot zone will display raised dots. See the example below.
Note that setting the LightColor and ShadowColor properties to shades of gray works for any background color. Images below show examples.
The default value of the LightColor property is clWindow.