HtmlControlDesigner.Behavior Property

Definition

Warning

This API is now obsolete.

Gets or sets the DHTML behavior that is associated with the designer.

public:
 property System::Web::UI::Design::IHtmlControlDesignerBehavior ^ Behavior { System::Web::UI::Design::IHtmlControlDesignerBehavior ^ get(); void set(System::Web::UI::Design::IHtmlControlDesignerBehavior ^ value); };
[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
Public Property Behavior As IHtmlControlDesignerBehavior

Property Value

An IHtmlControlDesignerBehavior that is associated with the designer.

Attributes

Remarks

Note

The Behavior property is obsolete. Use the SetAttribute and GetAttribute methods on the Tag property to map properties to styles. Use the GetDesignTimeCssAttributes method on the ContainerControlDesigner class to set styles for the control at design time.

Applies to

See also