System.Windows.Forms.PictureBox.WaitOnLoad Property

Gets or sets a value indicating whether an image is loaded synchronously.

Syntax

[System.ComponentModel.DefaultValue(false)]
[System.ComponentModel.Localizable(true)]
public bool WaitOnLoad { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Setting the PictureBox.WaitOnLoad property to true means the image is loaded synchronously. This causes the user interface to be blocked from other input until the image is loaded. When PictureBox.WaitOnLoad is false (the default) and the erload:System.Windows.Forms.PictureBox.LoadAsync method is used to load the image, the PictureBox.InitialImage image is displayed when the specified image is loaded, and the user can interact with the interface during the load process.

Requirements

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