DesignSurfaceManager::CreateDesignSurfaceCore Method (IServiceProvider^)
.NET Framework (current version)
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: