HtmlControlDesigner.Behavior Właściwość

Definicja

Przestroga

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

Pobiera lub ustawia zachowanie DHTML skojarzone z projektantem.

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; }

Wartość właściwości

IHtmlControlDesignerBehavior

Element IHtmlControlDesignerBehavior skojarzony z projektantem.

Atrybuty

Uwagi

Uwaga

Właściwość Behavior jest przestarzała. Użyj metod SetAttribute i we właściwości , aby GetAttribute Tag zamapować właściwości na style. Użyj GetDesignTimeCssAttributes metody w klasie ContainerControlDesigner , aby ustawić style dla kontrolki w czasie projektowania.

Dotyczy

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)

Zobacz też