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






Gets or sets the colour of the CommandItem Text when the CommandItem is in the hot state.

Syntax

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

Return Value

A Color value, this property represents the colour of the Text on the CommandItem when it is in the hot state. If HotTrackForeColor is Color.Empty then ForeColor is used. The default value is Color.Empty.

Remarks

The colour of the CommandItem Text depends on its state. For more information on the states of a CommandItem and how the state of a CommandItem affects its appearance please see CommandItem state.

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