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

◆ background_image_layout() [1/2]

virtual xtd::forms::image_layout xtd::forms::control::background_image_layout ( ) const
virtualnoexcept

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

Returns
One of the values of xtd::forms::image_layout (center , none, stretch, tile, or zoom). tile is the default value.
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.