RibbonControl::OnTemplateChanged Method (ControlTemplate^, ControlTemplate^)

.NET Framework (current version)
 

Invoked when the data template changes.

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

protected:
virtual void OnTemplateChanged(
	ControlTemplate^ oldTemplate,
	ControlTemplate^ newTemplate
) override

Parameters

oldTemplate
Type: System.Windows.Controls::ControlTemplate^

The old data template.

newTemplate
Type: System.Windows.Controls::ControlTemplate^

The new data template.

.NET Framework
Available since 4.5
Return to top
Show: