DesignSurfaceManager.CreateDesignSurfaceCore(IServiceProvider) Método

Definición

Implementación que crea la superficie de diseño.Implementation that creates the design surface.

protected:
 virtual System::ComponentModel::Design::DesignSurface ^ CreateDesignSurfaceCore(IServiceProvider ^ parentProvider);
protected virtual System.ComponentModel.Design.DesignSurface CreateDesignSurfaceCore (IServiceProvider parentProvider);
abstract member CreateDesignSurfaceCore : IServiceProvider -> System.ComponentModel.Design.DesignSurface
override this.CreateDesignSurfaceCore : IServiceProvider -> System.ComponentModel.Design.DesignSurface
Protected Overridable Function CreateDesignSurfaceCore (parentProvider As IServiceProvider) As DesignSurface

Parámetros

parentProvider
IServiceProvider

Proveedor de servicios que se va a pasar a la superficie de diseño.A service provider to pass to the design surface. Bien es una instancia de DesignSurfaceManager, o bien un objeto que implementa IServiceProvider y representa una combinación del proveedor de servicios de la clase DesignSurfaceManager y de un proveedor que se ha pasado externamente.This is either an instance of DesignSurfaceManager or an object that implements IServiceProvider, and represents a merge between the service provider of the DesignSurfaceManager class and an externally passed provider.

Devoluciones

DesignSurface

Nueva instancia de la superficie de diseño.A new design surface instance.

Comentarios

CreateDesignSurfaceCoreAmbos métodos llaman al método CreateDesignSurface .The CreateDesignSurfaceCore method is called by both CreateDesignSurface methods. Es la implementación que realmente crea la superficie de diseño.It is the implementation that actually creates the design surface. La implementación predeterminada devuelve simplemente un nuevo DesignSurface .The default implementation just returns a new DesignSurface. Puede invalidar este método para proporcionar un objeto personalizado que deriva de la DesignSurface clase.You may override this method to provide a custom object that derives from the DesignSurface class.

Se aplica a

Consulte también