TextBoxBase.OnTemplateChanged(ControlTemplate, ControlTemplate) Metod

Definition

Anropas när kontrollmallen ändras.

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)

Parametrar

oldTemplate
ControlTemplate

Ett ControlTemplate objekt som anger den kontrollmall som för närvarande är aktiv.

newTemplate
ControlTemplate

Ett ControlTemplate objekt som anger en ny kontrollmall som ska användas.

Kommentarer

Åsidosätter OnTemplateChanged.

Gäller för