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 方法,將屬性對應至樣式。

適用於

另請參閱