TextBoxBase.OnTemplateChanged(ControlTemplate, ControlTemplate) Metoda

Definicja

Jest wywoływany po zmianie szablonu kontrolki.

protected:
 override void OnTemplateChanged(System::Windows::Controls::ControlTemplate ^ oldTemplate, System::Windows::Controls::ControlTemplate ^ newTemplate);
protected override void OnTemplateChanged (System.Windows.Controls.ControlTemplate oldTemplate, System.Windows.Controls.ControlTemplate newTemplate);
override this.OnTemplateChanged : System.Windows.Controls.ControlTemplate * System.Windows.Controls.ControlTemplate -> unit
Protected Overrides Sub OnTemplateChanged (oldTemplate As ControlTemplate, newTemplate As ControlTemplate)

Parametry

oldTemplate
ControlTemplate

ControlTemplate Obiekt, który określa szablon kontrolki, który jest obecnie aktywny.

newTemplate
ControlTemplate

ControlTemplate Obiekt, który określa nowy szablon kontrolki do użycia.

Uwagi

OnTemplateChangedZastępuje .

Dotyczy