.NET Framework Class Library
ComponentDesignerAssociatedComponents Property

Gets the collection of components associated with the component managed by the designer.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)
Syntax
Public Overridable ReadOnly Property AssociatedComponents As [%$TOPIC/fs87wbxy_en-us_VS_110_1_0_0_0_0%]
public virtual [%$TOPIC/fs87wbxy_en-us_VS_110_1_0_1_0_0%] AssociatedComponents { get; }
public:
virtual property [%$TOPIC/fs87wbxy_en-us_VS_110_1_0_2_0_0%]^ AssociatedComponents {
	[%$TOPIC/fs87wbxy_en-us_VS_110_1_0_2_0_1%]^ get ();
}
abstract AssociatedComponents : [%$TOPIC/fs87wbxy_en-us_VS_110_1_0_3_0_0%] with get 
override AssociatedComponents : [%$TOPIC/fs87wbxy_en-us_VS_110_1_0_3_0_1%] with get
function get AssociatedComponents () : [%$TOPIC/fs87wbxy_en-us_VS_110_1_0_4_0_0%]

Property Value

Type: System.CollectionsICollection
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.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1