ImageStream Property
Collapse the table of content
Expand the table of content

ImageList.ImageStream Property

Gets the ImageListStreamer associated with this image list.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in

public ImageListStreamer ImageStream { get; set; }
/** @property */
public ImageListStreamer get_ImageStream ()

/** @property */
public void set_ImageStream (ImageListStreamer value)

public function get ImageStream () : ImageListStreamer

public function set ImageStream (value : ImageListStreamer)

Not applicable.

Property Value

a null reference (Nothing in Visual Basic) 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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

© 2016 Microsoft