ComponentDesigner.AssociatedComponents 屬性

定義

取得設計師管理的與該元件相關的元件集合。

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

屬性值

與設計者管理的元件相關聯的元件。

備註

此屬性表示在複製、拖曳或移動操作中,需與設計師管理的元件一同複製或移動任何元件。

若此集合包含對目前設計模式文件中其他元件的引用,則在複製操作中,這些元件將與設計師管理的元件一同複製。

當選擇設計師管理的元件時,這個集合會被填入任何巢狀控制項。 這個集合還可以包含其他元件,例如工具列的按鈕。

適用於