ICompositeControlDesignerAccessor 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供介面,讓複合控制設計者能在設計時重建其相關控制項的子控制項。
public interface class ICompositeControlDesignerAccessor
public interface ICompositeControlDesignerAccessor
type ICompositeControlDesignerAccessor = interface
Public Interface ICompositeControlDesignerAccessor
- 衍生
備註
衍生出的 CompositeControl 類別實 ICompositeControlDesignerAccessor 作介面,讓其關聯設計者能在設計時呼叫控制項的方法 RecreateChildControls 。 相關設計者必須由 推導出 CompositeControlDesigner。
此 ICompositeControlDesignerAccessor 介面主要由控制開發者使用。
方法
| 名稱 | Description |
|---|---|
| RecreateChildControls() |
在由 CompositeControl衍生出的控制項中,會在設計時重建子控制項。 由控制組的相關設計師呼叫。 |