Szerkesztés

Megosztás a következőn keresztül:


PictureBox.InitialImage Property

Definition

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

public:
 property System::Drawing::Image ^ InitialImage { System::Drawing::Image ^ get(); void set(System::Drawing::Image ^ value); };
public System.Drawing.Image InitialImage { get; set; }
public System.Drawing.Image? InitialImage { get; set; }
member this.InitialImage : System.Drawing.Image with get, set
Public Property InitialImage As Image

Property Value

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

Remarks

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

Applies to