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. 对 SetAttribute 属性使用和 GetAttribute 方法, Tag 以获得等效的控件设计器功能。Use the SetAttribute and GetAttribute methods on the Tag property for equivalent control designer functionality.