ControlDesigner.AssociatedComponents 屬性

定義

取得元件集合,該集合與設計工具管理的元件相關聯。

public:
 virtual property System::Collections::ICollection ^ AssociatedComponents { System::Collections::ICollection ^ get(); };
public override System.Collections.ICollection AssociatedComponents { get; }
member this.AssociatedComponents : System.Collections.ICollection
Public Overrides ReadOnly Property AssociatedComponents As ICollection

屬性值

ICollection

元件,與設計工具管理的元件相關聯。

備註

這個屬性工作表示在複製、拖曳或移動作業期間,要與設計工具所管理的元件一起複製或移動的任何元件。

如果這個集合包含目前設計模式檔中其他元件的參考,這些元件將會與設計工具在複製作業期間管理的元件一起複製。

選取設計工具管理的元件時,此集合會填入任何巢狀控制項。 此集合也可以包含其他元件,例如工具列的按鈕。

適用於