Επεξεργασία

Κοινή χρήση μέσω


ImageList.ImageStream Property

Definition

Gets or sets 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)]
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

Property Value

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

Attributes

Remarks

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