Språk

Page.OnTemplateChanged(ControlTemplate, ControlTemplate) Metod

Definition

Anropas när mallen för en Page ändring.

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

Parametrar

oldTemplate
ControlTemplate

Den gamla mallen.

newTemplate
ControlTemplate

Den nya mallen.

Kommentarer

Se även Control.OnTemplateChanged.

Gäller för

Se även