ComponentDesigner.AssociatedComponents Property
Gets the collection of components associated with the component managed by the designer.
[Visual Basic] Public Overridable ReadOnly Property AssociatedComponents As _ ICollection [C#] public virtual ICollection AssociatedComponents {get;} [C++] public: __property virtual ICollection* get_AssociatedComponents(); [JScript] public function get AssociatedComponents() : ICollection;
Property Value
The components that are associated with the component managed by the designer.
Remarks
This property indicates any components to copy or move along with the component managed by the designer during a copy, drag or move operation.
If this collection contains references to other components in the current design mode document, those components will be copied along with the component managed by the designer during a copy operation.
When the component managed by the designer is selected, this collection is filled with any nested controls. This collection can also include other components, such as the buttons of a toolbar.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- 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
See Also
ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace