Partilhar via


Método RibbonContentPresenter.OnTemplateChanged

Chamado quando o modelo de dados é alterado.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (em RibbonControlsLibrary.dll)

Sintaxe

'Declaração
Protected Overrides Sub OnTemplateChanged ( _
    oldTemplate As DataTemplate, _
    newTemplate As DataTemplate _
)
protected override void OnTemplateChanged(
    DataTemplate oldTemplate,
    DataTemplate newTemplate
)
protected:
virtual void OnTemplateChanged(
    DataTemplate^ oldTemplate, 
    DataTemplate^ newTemplate
) override
abstract OnTemplateChanged : 
        oldTemplate:DataTemplate * 
        newTemplate:DataTemplate -> unit 
override OnTemplateChanged : 
        oldTemplate:DataTemplate * 
        newTemplate:DataTemplate -> unit 
protected override function OnTemplateChanged(
    oldTemplate : DataTemplate, 
    newTemplate : DataTemplate
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

RibbonContentPresenter Classe

Namespace Microsoft.Windows.Controls.Ribbon