DesignSurfaceManager.CreateDesignSurfaceCore Method
.NET Framework 4
Implementation that creates the design surface.
Assembly: System.Design (in System.Design.dll)
protected virtual DesignSurface CreateDesignSurfaceCore( IServiceProvider parentProvider )
Parameters
- parentProvider
- Type: System.IServiceProvider
A service provider to pass to the design surface. 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.
The CreateDesignSurfaceCore method is called by both CreateDesignSurface methods. It is the implementation that actually creates the design surface. The default implementation just returns a new DesignSurface. You may override this method to provide a custom object that derives from the DesignSurface class.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.