語言

PanelDesigner.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 方法呼叫基礎 OnBehaviorAttached 方法。 然後,若定義了這些屬性,則利用OnBehaviorAttached該BackImageUrl方法將 和 HorizontalAlignMapPropertyToStyle 映射到適當的樣式。

適用於

另請參閱