Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Invoked when the data template changes.
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
)
Parameters
- oldTemplate
Type: System.Windows.DataTemplate
The old data template.
- newTemplate
Type: System.Windows.DataTemplate
The new data template.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.