次の方法で共有


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
public bool LoadAtIdle { get; set; }

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

Microsoft.VisualStudio.Shell.Design Namespace

DesignSurfaceExtensionAttribute

DesignSurfaceExtension

DesignSurface

IDesigner

IDesignerHost

Other Resources

Extending Design-Time Support