Partager via


DesignSurfaceExtension.Surface Property

Gets the design surface this extension was initialized with.

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

Syntax

'Declaration
Protected ReadOnly Property Surface As DesignSurface
protected DesignSurface Surface { get; }
protected:
property DesignSurface^ Surface {
    DesignSurface^ get ();
}
member Surface : DesignSurface with get
function get Surface () : DesignSurface

Property Value

Type: DesignSurface
The DesignSurface this extension was initialized with, or nulla null reference (Nothing in Visual Basic) of the extension has been disposed.

.NET Framework Security

See Also

Reference

DesignSurfaceExtension Class

Microsoft.VisualStudio.Shell.Design Namespace

DesignSurfaceExtensionAttribute

DesignSurfaceExtension

DesignSurface

IDesigner

IDesignerHost

Other Resources

Extending Design-Time Support