RibbonMenuButton.OnTemplateChanged Method

.NET Framework 4.6 and 4.5

Invoked whenever the control’s template changes.

Namespace:  System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

protected override void OnTemplateChanged(
	ControlTemplate oldTemplate,
	ControlTemplate newTemplate
)

Parameters

oldTemplate
Type: System.Windows.Controls.ControlTemplate

The old template.

newTemplate
Type: System.Windows.Controls.ControlTemplate

The new template.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft