Compartir a través de


RibbonMenuButton.OnTemplateChanged(ControlTemplate, ControlTemplate) Método

Definición

Se invoca cada vez que cambia la plantilla del control.

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)

Parámetros

oldTemplate
ControlTemplate

Plantilla antigua.

newTemplate
ControlTemplate

Plantilla nueva.

Se aplica a