Share 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
'Usage
Dim value As DesignSurface 

value = Me.Surface
protected DesignSurface Surface { get; }
protected:
property DesignSurface^ Surface {
    DesignSurface^ get ();
}
protected function get Surface () : DesignSurface

Property Value

Type: System.ComponentModel.Design.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

DesignSurfaceExtension Members

Microsoft.VisualStudio.Shell.Design Namespace

DesignSurfaceExtensionAttribute

DesignSurfaceExtension

DesignSurface

IDesigner

IDesignerHost

Other Resources

Extending Design-Time Support