TemplatedControlDesigner.OnBehaviorAttached 方法

定义

注意

The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202

提供将行为附加到设计器时进行附加处理的机会。

protected:
 override void OnBehaviorAttached();
protected override void OnBehaviorAttached ();
[System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")]
protected override void OnBehaviorAttached ();
override this.OnBehaviorAttached : unit -> unit
[<System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")>]
override this.OnBehaviorAttached : unit -> unit
Protected Overrides Sub OnBehaviorAttached ()
属性

注解

备注

该方法 OnBehaviorAttached 已过时。 SetAttribute使用属性上的TagGetAttribute方法将属性映射到样式。

适用于

另请参阅