xtd 0.2.0
Loading...
Searching...
No Matches

◆ image() [2/2]

virtual xtd::forms::label & xtd::forms::label::image ( const drawing::image value)
virtual

Sets the image that is displayed on a label control.

Parameters
valueThe Image displayed on the label control. The default value is xtd::drawing::image::empty.
Returns
Current label instance.
Remarks
When the image property is set, the image_list property will be set to xtd::forms::image_list::empty, and the image_index property will be set to its default, -1.
Note
If the flat_style property is set to xtd::forms::flat_style::system, any images assigned to the image property are not displayed.