ImageList.ImageStream Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the ImageListStreamer associated with this image list.

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

[BrowsableAttribute(false)]
public ImageListStreamer ImageStream { get; set; }

Property Value

Type: System.Windows.Forms.ImageListStreamer

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.

.NET Framework
Available since 1.1
Return to top
Show: