ControlDesigner.AssociatedComponents 屬性
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得元件集合,該集合與設計工具管理的元件相關聯。
public:
virtual property System::Collections::ICollection ^ AssociatedComponents { System::Collections::ICollection ^ get(); };
C#
public override System.Collections.ICollection AssociatedComponents { get; }
member this.AssociatedComponents : System.Collections.ICollection
Public Overrides ReadOnly Property AssociatedComponents As ICollection
元件,與設計工具管理的元件相關聯。
這個屬性工作表示在複製、拖曳或移動作業期間,要與設計工具所管理的元件一起複製或移動的任何元件。
如果這個集合包含目前設計模式檔中其他元件的參考,這些元件將會與設計工具在複製作業期間管理的元件一起複製。
選取設計工具管理的元件時,此集合會填入任何巢狀控制項。 此集合也可以包含其他元件,例如工具列的按鈕。
產品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |
Windows Desktop | 3.0, 3.1, 5, 6, 7 |