IControlDesignerBehavior 接口

定义

警告

此 API 现已过时。

启用控件设计器的特定行为的扩展。Enables the extension of specific behaviors of a control designer.

public interface class IControlDesignerBehavior
[System.Obsolete("The recommended alternative is System.Web.UI.Design.IControlDesignerTag and System.Web.UI.Design.IControlDesignerView. https://go.microsoft.com/fwlink/?linkid=14202")]
public interface IControlDesignerBehavior
type IControlDesignerBehavior = interface
Public Interface IControlDesignerBehavior
属性

注解

备注

IControlDesignerBehavior 接口已过时。The IControlDesignerBehavior interface is obsolete. 使用 IControlDesignerTagIControlDesignerView 接口实现等效的控件设计器功能。Use the IControlDesignerTag and IControlDesignerView interfaces for equivalent control designer functionality.

属性

DesignTimeElementView

获取设计器的设计时视图控件对象。Gets the design-time view control object for the designer.

DesignTimeHtml

获取或设置设计器的控件的设计时 HTML。Gets or sets the design-time HTML for the designer's control.

方法

OnTemplateModeChanged()

提供当设计器进入或退出模板模式时执行处理的机会。Provides an opportunity to perform processing when the designer enters or exits template mode.

适用于

另请参阅