ToolStrip::ImageList Property

 

Gets or sets the image list that contains the image displayed on a ToolStrip item.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
[BrowsableAttribute(false)]
property ImageList^ ImageList {
	ImageList^ get();
	void set(ImageList^ value);
}

Property Value

Type: System.Windows.Forms::ImageList^

An object of type ImageList.

The Image, ImageAlign, ImageIndex, ImageKey, and ImageScaling properties pertain to various aspects of image handling. Use images in ToolStrip controls by setting these properties directly or by setting the run-time–only ImageList property.

Image scaling is determined by the interaction of properties in both ToolStrip and ToolStripItem, as follows:

.NET Framework
Available since 2.0
Return to top
Show: