DesignSurfaceManager.CreateDesignSurfaceCore(IServiceProvider) Metoda

Definice

Implementace vytvářející návrhovou plochu.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

Parametry

parentProvider
IServiceProvider

Poskytovatel služeb, který se přechází na návrhovou plochu.A service provider to pass to the design surface. Toto je buď instance, DesignSurfaceManager nebo objekt, který implementuje IServiceProvider , a představuje sloučení mezi poskytovatelem služby DesignSurfaceManager třídy a externě předaným zprostředkovatelem.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.

Návraty

DesignSurface

Nová instance návrhová plocha.A new design surface instance.

Poznámky

CreateDesignSurfaceCoreMetoda je volána oběma CreateDesignSurface metodami.The CreateDesignSurfaceCore method is called by both CreateDesignSurface methods. Jedná se o implementaci, která ve skutečnosti vytváří návrhovou plochu.It is the implementation that actually creates the design surface. Výchozí implementace pouze vrátí novou DesignSurface .The default implementation just returns a new DesignSurface. Tuto metodu můžete přepsat tak, aby poskytovala vlastní objekt, který je odvozen od DesignSurface třídy.You may override this method to provide a custom object that derives from the DesignSurface class.

Platí pro

Viz také