System.Web.UI.Design.ReadWriteControlDesigner.OnBehaviorAttached Method

Provides notification that is raised when a behavior is attached to the designer.

Syntax

[System.Obsolete("Use ControlDesigner.Tag instead")]
protected override void OnBehaviorAttached ()

Remarks

Note:

The ReadWriteControlDesigner.OnBehaviorAttached method is obsolete. Use the members of the ControlDesigner.Tag property instead. For example, use the IControlDesignerTag.SetAttribute(string, string) and IControlDesignerTag.GetAttribute(string) methods on the ControlDesigner.Tag property to map properties to styles.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0