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






Get or sets the Image for the SideBarItem when displayed on the SideBar footer or menu.

Syntax

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

Return Value

A reference to an Image, this property specifies the Image on the SideBarItem when displayed on the footer or menu. The default value is null (Nothing for Visual Basic).

Remarks

A SideBarItem displays a large and small version of the same image. When the SideBarItem appears as a button in the main button stack the large image is used. When the SideBarItem appears on the footer or menu the small image is used. There are three ways to specify the small image: Set the ImageSmall property, set the ImageSmallList and use the ImageIndex property, or set the ImageSmallList and use the ImageKey property.

When specifying the ImageIndex, the small and large image should have the same index in the ImageList and ImageSmallList. When specifying the ImageKey, the small and large image should have the same key in the ImageList and ImageSmallList.

If no small image is specified then the SideBar automatically creates a small image from the large one.

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