DesignSurfaceExtensionAttribute::LoadAtIdle Property

 

Controls when, relative to the loading of a designer used by a VSPackage, the extensions provided by the implementation of the DesignSurfaceExtensionAttribute registered by DesignSurfaceExtensionAttribute are installed.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
property bool LoadAtIdle {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

A Boolean value is returned:

true

The object providing design surface modifications by implementing DesignSurfaceExtension will be instantiated and initialized only during the idle period after the designer used by the VSPackage has finished loading.

false

The object providing design surface modifications by implementing DesignSurfaceExtension will be instantiated and initialized when a designer starts up.

By default the value of LoadAtIdle is false.

Return to top
Show: