HtmlControlDesigner.Behavior 属性

定义

注意

The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202

获取或设置与设计器关联的 DHTML 行为。

public:
 property System::Web::UI::Design::IHtmlControlDesignerBehavior ^ Behavior { System::Web::UI::Design::IHtmlControlDesignerBehavior ^ get(); void set(System::Web::UI::Design::IHtmlControlDesignerBehavior ^ value); };
public System.Web.UI.Design.IHtmlControlDesignerBehavior Behavior { get; set; }
[System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")]
public System.Web.UI.Design.IHtmlControlDesignerBehavior Behavior { get; set; }
member this.Behavior : System.Web.UI.Design.IHtmlControlDesignerBehavior with get, set
[<System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Behavior : System.Web.UI.Design.IHtmlControlDesignerBehavior with get, set
Public Property Behavior As IHtmlControlDesignerBehavior

属性值

与设计器关联的 IHtmlControlDesignerBehavior

属性

注解

注意

Behavior 属性已过时。 SetAttribute使用 属性上的 TagGetAttribute 方法将属性映射到样式。 GetDesignTimeCssAttributes在 类上使用 ContainerControlDesigner 方法在设计时为控件设置样式。

适用于

另请参阅