ControlDesigner.OnBehaviorAttached 方法

定义

将控件设计器附加到 Behavior 对象时调用。Called when the control designer is attached to a Behavior object.

protected:
 override void OnBehaviorAttached();
protected override void OnBehaviorAttached ();
override this.OnBehaviorAttached : unit -> unit
Protected Overrides Sub OnBehaviorAttached ()

注解

备注

OnBehaviorAttached 方法已过时。The OnBehaviorAttached method is obsolete. 对于等效的控件设计器功能,请使用 Tag 属性的 SetAttributeGetAttribute 方法。Use the SetAttribute and GetAttribute methods on the Tag property for equivalent control designer functionality.

适用于

另请参阅