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通过使用HorizontalAlign该方法将属性和MapPropertyToStyle属性映射到适当的样式。

适用于

另请参阅