ImageList.ImageStream 属性

定义

获取与此图像列表关联的 ImageListStreamerGets the ImageListStreamer associated with this image list.

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

属性值

ImageListStreamer

如果图像列表为空,则为 null;否则为此 ImageListStreamerImageListnull if the image list is empty; otherwise, a ImageListStreamer for this ImageList.

属性

注解

ImageListStreamer是图像列表的数据部分。The ImageListStreamer is the data portion of the image list. 使用将本地化的窗体时, ImageList 在窗体的 Language 属性设置为默认值时,始终应添加和图像。When you work with forms that will be localized, you should always add an ImageList and images when the Language property of a form is set to Default. 在添加图像之前更改窗体的语言将损坏图像流。Changing the form's language before you add images will corrupt the image stream.

可以将此句柄传递到的另一个实例 ImageListYou can pass this handle to another instance of an ImageList.

适用于