Freigeben über


RibbonContentPresenter.OnTemplateChanged-Methode

Wird aufgerufen, wenn die Datenvorlage geändert wird.

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

Syntax

'Declaration
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
)

Parameter

.NET Framework-Sicherheit

Siehe auch

Referenz

RibbonContentPresenter Klasse

Microsoft.Windows.Controls.Ribbon-Namespace