共用方式為


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

與設計工具相關聯的 IHtmlControlDesignerBehavior

屬性

備註

注意

Behavior 屬性已經過時。 使用 SetAttribute GetAttribute 屬性上的和方法 Tag 來將屬性對應至樣式。 使用 GetDesignTimeCssAttributes 類別上的方法 ContainerControlDesigner ,在設計階段設定控制項的樣式。

適用於

另請參閱