DesignSurface::ComponentContainer Property
.NET Framework (current version)
Gets the IContainer implementation within the design surface.
Assembly: System.Design (in System.Design.dll)
Property Value
Type: System.ComponentModel::IContainer^The IContainer implementation within the design surface.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The IDesignerHost attached to the DesignSurface has been disposed. |
The ComponentContainer property holds all objects that are currently in design mode. When components are added to ComponentContainer, their designer, if any, is loaded. The component is sited with a site that provides full access to the design surface.
.NET Framework
Available since 2.0
Available since 2.0
Show: