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)

Syntax

‘선언
Public Property LoadAtIdle As Boolean
    Get
    Set
‘사용 방법
Dim instance As DesignSurfaceExtensionAttribute
Dim value As Boolean

value = instance.LoadAtIdle

instance.LoadAtIdle = value
public bool LoadAtIdle { get; set; }
public:
property bool LoadAtIdle {
    bool get ();
    void set (bool value);
}
member LoadAtIdle : bool with get, set
function get LoadAtIdle () : boolean
function set LoadAtIdle (value : boolean)

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.

Remarks

By default the value of LoadAtIdle is false.

.NET Framework Security

See Also

Reference

DesignSurfaceExtensionAttribute Class

DesignSurfaceExtensionAttribute Members

Microsoft.VisualStudio.Shell.Design Namespace

DesignSurfaceExtensionAttribute

DesignSurfaceExtension

DesignSurface

IDesigner

IDesignerHost

Other Resources

Extending Design-Time Support