ICreate.Controls.Bars Send comments on this topic.
ForeColor Property
See Also 
ICreate.Controls.Bars Namespace > TaskBar Class : ForeColor Property






Gets or sets the colour of the TaskBar Items Text.

Syntax

Visual Basic (Declaration) 
Public Property ForeColor As Color
Visual Basic (Usage)Copy Code
Dim instance As TaskBar
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
C# 
public Color ForeColor {get; set;}
Delphi 
public read-write property ForeColor: Color; 
JScript 
public function get,set ForeColor : Color
Managed Extensions for C++ 
public: __property Color get_ForeColor();
public: __property void set_ForeColor( 
   Color value
);
C++/CLI 
public:
property Color ForeColor {
   Color get();
   void set (Color value);
}

Return Value

A Color value, this property specifies the colour of the Text for the TaskBarItem components owned by the TaskBar. The default value is Color.FromArgb(33, 93, 198).

Remarks

This ForeColor colour only applies to Items in the normal state. The HotTrackForeColor property specifies the colour of the Text when the item is hot. The PressedForeColor property specifies the colour of the Text when the item is pressed.

ForeColor applies to all TaskBarItem Items owned by the TaskBar. This colour can be overridden for a particular TaskBarItem by setting its ForeColor property.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also