HtmlControlDesigner.Behavior Property

Definition

Caution

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

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

C#
public System.Web.UI.Design.IHtmlControlDesignerBehavior Behavior { get; set; }
C#
[System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")]
public System.Web.UI.Design.IHtmlControlDesignerBehavior Behavior { get; set; }

Property Value

An IHtmlControlDesignerBehavior that is associated with the designer.

Attributes

Remarks

Uwaga

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

Produkt Wersje (Przestarzałe)
.NET Framework 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)

See also