ICompositeControlDesignerAccessor 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供一个接口以使复合控件设计器可以在设计时重新创建其关联控件的子控件。
public interface class ICompositeControlDesignerAccessor
public interface ICompositeControlDesignerAccessor
type ICompositeControlDesignerAccessor = interface
Public Interface ICompositeControlDesignerAccessor
- 派生
注解
派生自的类 CompositeControl 实现 ICompositeControlDesignerAccessor 接口,以允许其关联的设计器 RecreateChildControls 在设计时调用控件的方法。 关联设计器必须派生自 CompositeControlDesigner 。
ICompositeControlDesignerAccessor接口主要由控件开发人员使用。
方法
RecreateChildControls() |
在从 CompositeControl 派生的控件中,在设计时重新创建子控件。 由控件的关联设计器调用。 |