ToolStrip.ImageList ToolStrip.ImageList ToolStrip.ImageList ToolStrip.ImageList Property

定义

获取或设置包含 ToolStrip 项上显示的图像的图像列表。Gets or sets the image list that contains the image displayed on a ToolStrip item.

public:
 property System::Windows::Forms::ImageList ^ ImageList { System::Windows::Forms::ImageList ^ get(); void set(System::Windows::Forms::ImageList ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.ImageList ImageList { get; set; }
member this.ImageList : System.Windows.Forms.ImageList with get, set
Public Property ImageList As ImageList

属性值

一个 ImageList 类型的对象。An object of type ImageList.

注解

Image、 、、ImageAlign和属性与图像处理的ImageScaling各个方面相关。 ImageIndex ImageKeyThe Image, ImageAlign, ImageIndex, ImageKey, and ImageScaling properties pertain to various aspects of image handling. 通过直接设置ToolStrip这些属性或通过设置运行时ImageList属性来使用控件中的图像。Use images in ToolStrip controls by setting these properties directly or by setting the run-time-only ImageList property.

图像缩放是通过ToolStripToolStripItem中的属性交互确定的, 如下所示:Image scaling is determined by the interaction of properties in both ToolStrip and ToolStripItem, as follows:

适用于