ImageList.ImageStream Property


Gets the ImageListStreamer associated with this image list.

 property System::Windows::Forms::ImageListStreamer ^ ImageStream { System::Windows::Forms::ImageListStreamer ^ get(); void set(System::Windows::Forms::ImageListStreamer ^ value); };
public System.Windows.Forms.ImageListStreamer ImageStream { get; set; }
public System.Windows.Forms.ImageListStreamer? ImageStream { get; set; }
member this.ImageStream : System.Windows.Forms.ImageListStreamer with get, set
Public Property ImageStream As ImageListStreamer

Property Value


null if the image list is empty; otherwise, a ImageListStreamer for this ImageList.



The ImageListStreamer is the data portion of the image list. 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.

You can pass this handle to another instance of an ImageList.

Applies to