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.

注解

ImageImageAlignImageIndexImageKey,和ImageScaling属性与图像处理的各个方面。The 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:

适用于