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






The Image displayed on the left side of the BarItemCommand.

Syntax

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

Return Value

A reference to an Image, the property specifies the Image displayed on the left side of the BarItemCommand.

Remarks

A BarItemCommand can contain Text and/or an Image. The Image, if present, is displayed on the left of the BarItemCommand. The Text, if present, is displayed after the Image. The size of the BarItemCommand is adjusted according to the Image and the Text. For a SideBar all BarItemCommand instances are the same height. For a TaskBar the height of the BarItemCommand instances are independant of the other items.

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