DesignSurface Constructor (IServiceProvider^)
.NET Framework (current version)
Initializes a new instance of the DesignSurface class.
Assembly: System.Design (in System.Design.dll)
Parameters
- parentProvider
-
Type:
System::IServiceProvider^
The parent service provider, or null if there is no parent used to resolve services.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The IDesignerHost attached to the DesignSurface has been disposed. |
When parentProvide is present, designers contained within the surface can retrieve services from the application.
.NET Framework
Available since 2.0
Available since 2.0
Show: