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






Gets or sets the collection of images available to the BarItemCommands owned by the Bar.

Syntax

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

Return Value

An ImageList which contains images available to the BarItemCommand components of the Bar. The default is a null reference (Nothing in Visual Basic).

Remarks

Use the ImageIndex or ImageKey property to specify which image in the image list to display on the BarItemCommand.

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