PictureBox.InitialImage Property

 

Gets or sets the image displayed in the PictureBox control when the main image is loading.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public Image InitialImage { get; set; }

Property Value

Type: System.Drawing.Image

The Image displayed in the picture box control when the main image is loading.

If no InitialImage is specified, a default image is displayed. The InitialImage is always displayed non-stretched, in the center of the PictureBox.

.NET Framework
Available since 2.0
Return to top
Show: