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






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

Syntax

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

Return Value

A Color value, this property represents the colour of the Text on the CommandItem when the CommandItem is in the checked state. If CheckedForeColor 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