Share via


DesignSurfaceExtension Members

Include Protected Members
Include Inherited Members

The base class for any object provided by a VSPackage to be called by the Visual Studio environment upon designer creation to customize or extend services and metadata provided by any implementation of DesignSurface.

The DesignSurfaceExtension type exposes the following members.

Constructors

 

Name

Description

Protected method

DesignSurfaceExtension

Create a new instance of the DesignSurfaceExtension class.

Top

Methods

 

Name

Description

Public method

Dispose

Overloaded. Disposes this object and its resources.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Destroys the object. (Overrides Object.Finalize().)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

Initialize

Initializes the design surface extension.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

OnComponentCreated

This method is called when a new component is created but before that component is added to the designer.

Public method

OnDesignerCreated

Overloaded. This method is called when a new designer is created.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Protected property

Surface

Gets the design surface this extension was initialized with.

Top

See Also

Reference

DesignSurfaceExtension Class

Microsoft.VisualStudio.Shell.Design Namespace