Change sizemode background image in picturebox

My goal was to change the background image and set its SizeMode as a Stretch. Have you tried a lot so far, any ideas?

EDIT: I work in a C # forms application. Tried just setting the bg image size mode:

picturebox1.BackgroundImage = Properties.Resources.Image;
picturebox1.SizeMode = PictureBoxSizeMode.StretchImage;

tried to move on it ... no success ...

+5
source share
1 answer

Take a look at BackgroundImageLayout .
Example:

whatever.BackgroundImageLayout = ImageLayout.Stretch
+15
source

All Articles