DesignSurface.ComponentContainer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the IContainer implementation within the design surface.
public:
property System::ComponentModel::IContainer ^ ComponentContainer { System::ComponentModel::IContainer ^ get(); };
public System.ComponentModel.IContainer ComponentContainer { get; }
member this.ComponentContainer : System.ComponentModel.IContainer
Public ReadOnly Property ComponentContainer As IContainer
Property Value
The IContainer implementation within the design surface.
Exceptions
The IDesignerHost attached to the DesignSurface has been disposed.
Remarks
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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for