Gets or sets the image that is displayed on a Label.
[Visual Basic] Public Property Image As Image [C#] public Image Image {get; set;} [C++] public: __property Image* get_Image(); public: __property void set_Image(Image*); [JScript] public function get Image() : Image; public function set Image(Image);
The Image displayed on the Label. The default is a null reference (in Visual Basic Nothing).
When the Image property is set, the ImageList property is set to a null reference (Nothing) and the ImageIndex property is set to-1.
Label Class | Label Members | System.WinForms Namespace | Image | ImageAlign | ImageList | ImageIndex