TextBoxBase.OnApplyTemplate TextBoxBase.OnApplyTemplate TextBoxBase.OnApplyTemplate TextBoxBase.OnApplyTemplate Method

定义

在应用控件模板时进行调用。Is called when a control template is applied.

public:
 override void OnApplyTemplate();
public override void OnApplyTemplate ();
override this.OnApplyTemplate : unit -> unit
Public Overrides Sub OnApplyTemplate ()

注解

重写 OnApplyTemplateOverrides OnApplyTemplate.

继承者说明

当在派生类中实现时, 每当应用程序代码或内部进程调用ApplyTemplate()时, 都将调用此方法。When implemented in a derived class, this method is invoked whenever application code or internal processes call ApplyTemplate().

适用于