PanelDesigner.OnBehaviorAttached Method ()

Note: This API is now obsolete.

Provides notification when a behavior is attached to the designer.

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

[ObsoleteAttribute("The recommended alternative is ControlDesigner.Tag.")]
protected override void OnBehaviorAttached()

The OnBehaviorAttached method calls the OnBehaviorAttached base method. Then the OnBehaviorAttached maps the BackImageUrl and HorizontalAlign properties to the appropriate style by using the MapPropertyToStyle method, if these properties are defined.

.NET Framework
Available since 1.1
Return to top