System.Windows.Forms.ToolStripItem.Image Property

Gets or sets the image that is displayed on a System.Windows.Forms.ToolStripItem.

Syntax

[System.ComponentModel.Localizable(true)]
public virtual System.Drawing.Image Image { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0