IHtmlControlDesignerBehavior 接口

定义

警告

此 API 现已过时。

定义一个接口,该接口使得可以对 HTML 控件设计器的特定行为进行扩展。Defines an interface that enables the extension of specific behaviors of an HTML control designer.

public interface class IHtmlControlDesignerBehavior
public interface IHtmlControlDesignerBehavior
[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 IHtmlControlDesignerBehavior
type IHtmlControlDesignerBehavior = interface
Public Interface IHtmlControlDesignerBehavior
属性

注解

备注

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

属性

Designer

获取或设置与此行为相关联的设计器。Gets or sets the designer that the behavior is associated with.

DesignTimeElement

获取与此设计器相关联的元素。Gets the element that the designer is associated with.

方法

GetAttribute(String, Boolean)

获取指定的特性。Gets the specified attribute.

GetStyleAttribute(String, Boolean, Boolean)

获取指定的样式特性。Gets the specified style attribute.

RemoveAttribute(String, Boolean)

移除指定的特性。Removes the specified attribute.

RemoveStyleAttribute(String, Boolean, Boolean)

移除指定的样式特性。Removes the specified style attribute.

SetAttribute(String, Object, Boolean)

将指定的特性设置到指定的对象。Sets the specified attribute to the specified object.

SetStyleAttribute(String, Boolean, Object, Boolean)

将指定的样式特性设置到指定的对象。Sets the specified style attribute to the specified object.

适用于

另请参阅