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






Gets or sets the colour of the CommandItem background when the CommandItem is pressed.

Syntax

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

Return Value

A Color value, this property specifies the background colour of the CommandItem when it is pressed. If PressedBackColor is Color.Empty then BackColor is used. The default value is Color.Empty.

Remarks

The colour of the CommandItem background depends on its state. For more information on the states of a CommandItem and how the state 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