次の方法で共有


DesignSurfaceExtension Class

Definition

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.

public ref class DesignSurfaceExtension abstract : IDisposable
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class DesignSurfaceExtension : IDisposable
[<System.Runtime.InteropServices.ComVisible(true)>]
type DesignSurfaceExtension = class
    interface IDisposable
Public MustInherit Class DesignSurfaceExtension
Implements IDisposable
Inheritance
DesignSurfaceExtension
Attributes
Implements

Constructors

DesignSurfaceExtension()

Create a new instance of the DesignSurfaceExtension class.

Properties

Surface

Gets the design surface this extension was initialized with.

Methods

Dispose()

Disposes this object and its resources.

Dispose(Boolean)

Disposes this object and its resources.

Finalize()

Destroys the object.

Initialize(DesignSurface)

Initializes the design surface extension.

OnComponentCreated(IComponent)

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

OnDesignerCreated(IComponent, IDesigner, Boolean)

This method is called when a new designer is created.

OnDesignerCreated(IDesigner)
Obsolete.

This method is called when a new designer is created.

Applies to