HtmlControlDesigner.OnSetParent 方法

定义

提供一种在将关联控件附加到父控件时执行附加处理的方式。Provides a way to perform additional processing when the associated control is attached to a parent control.

public:
 virtual void OnSetParent();
public virtual void OnSetParent ();
abstract member OnSetParent : unit -> unit
override this.OnSetParent : unit -> unit
Public Overridable Sub OnSetParent ()

继承者说明

在将设计器附加到父控件时,可以重写和实现 OnSetParent() 方法,以执行附加处理。The OnSetParent() method can be overridden and implemented to perform additional processing when the designer is attached to a parent control.

适用于

另请参阅