HtmlControlDesigner.Behavior Property

NOTE: This property is now obsolete.

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

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

[ObsoleteAttribute(L"The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")] 
public:
property IHtmlControlDesignerBehavior^ Behavior {
	IHtmlControlDesignerBehavior^ get ();
	void set (IHtmlControlDesignerBehavior^ value);
}
/** @property */
public IHtmlControlDesignerBehavior get_Behavior ()

/** @property */
public void set_Behavior (IHtmlControlDesignerBehavior value)

public function get Behavior () : IHtmlControlDesignerBehavior

public function set Behavior (value : IHtmlControlDesignerBehavior)

Not applicable.

Property Value

An IHtmlControlDesignerBehavior that is associated with the designer.

NoteNote:

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 1.0, 1.1, 2.0
Obsolete (compiler warning) in 3.0

Community Additions

ADD
Show: