Table of Contents
UnloadDelay Property

Specifies the amount of the time the WebView should wait before it destroys after it has been taken off the screen.

Syntax
 public Int32 UnloadDelay { get; set; }
Remarks

After a WebView is taken off the screen (when its parent window has been destroyed), the WebView will still be kept in the memory for a short period of time before it is completely destroyed. This delay allows you to move the WebView from one parent window to another parent window without having to destroy and recreate the WebView, thus keeping the status of the WebView.

Use this property to specify the duration of this short period in milliseconds. The default value is 300. Set this property to a negative value to destroy the WebView immediately after the parent window has been destroyed.

See Also