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

◆ background_image_layout() [2/2]

virtual control & xtd::forms::control::background_image_layout ( xtd::forms::image_layout  background_image_layout)
virtual

Sets the background image layout as defined in the xtd::forms::image_layout enumeration.

Parameters
background_image_layoutOne of the values of xtd::forms::image_layout (center , none, stretch, tile, or zoom). tile is the default value.
Returns
Current control.
Remarks
Use the background_image_layout property to specify the position and behavior of an image you have placed onto a control. background_image_layout takes effect only if the background_image property is set.
You can increase performance for large images if you set background_image_layout to something other than tile.