TemplatedControlDesigner.OnBehaviorAttached Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

Provides an opportunity to perform additional processing when a behavior is attached to the designer.

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

[ObsoleteAttribute("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")]
protected override void OnBehaviorAttached()


The OnBehaviorAttached method is obsolete. Use the SetAttribute and GetAttribute methods on the Tag property to map properties to styles.

.NET Framework
Available since 1.1
Return to top