[This is preliminary documentation and is subject to change.]

Gets or sets if resources from the directory and its subdirectories, should be pre-loaded to memory.

Namespace: Awesomium.Windows.Data
Assembly: Awesomium.Windows.Controls (in Awesomium.Windows.Controls.dll) Version: 1.7.0.5 (1.7.0.5)

Syntax

C#
public bool Preload { get; set; }
Visual Basic
Public Property Preload As Boolean
	Get
	Set
Visual C++
public:
property bool Preload {
	bool get ();
	void set (bool value);
}

Remarks

Preload will load all the available resources from the directory and its subdirectories to memory, ignoring files with the specified IgnoreExtensions and until it reaches the specified MaximumSize.

This operation is performed asynchronously and the DirectoryDataSource can still be used while files are being loaded in memory. When pre-loading completes, PreloadComplete is fired synchronously.

See Also