ToolStrip.ImageList 屬性

定義

取得或設定影像清單,其中包含顯示在 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]、[ImageIndex]、[ImageKey] 和 [ImageScaling] 屬性都與影像處理的各個層面有關。The Image, ImageAlign, ImageIndex, ImageKey, and ImageScaling properties pertain to various aspects of image handling. 直接設定這些屬性,或設定僅限執行時間的 ImageList 屬性,即可使用 ToolStrip 控制項中的影像。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:

適用於