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






Gets or sets the background colour of the CommandItem when it is in the normal state.

Syntax

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

Return Value

A Color value, this property represents the colour of the CommandItem background when the CommandItem is in the normal state. The default value is set by the CommandButton and CommandLink child classes.

Remarks

The colour of the CommandItem background 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