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






Gets or sets the image displayed on the ButtonBarButton.

Syntax

Visual Basic (Declaration) 
Public Property Image As Image
Visual Basic (Usage)Copy Code
Dim instance As ButtonBarButton
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, this property specifies the image displayed on the ButtonBarButton. The default value is null (Nothing in Visual Basic).

Remarks

Image, ImageIndex and ImageKey all specify the image to display on the ButtonBarButton. If Image is set then ImageIdex and ImageKey are reset to their default values or -1 and the empty string respectively.

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