Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Invoked whenever the control’s template changes.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Protected Overrides Sub OnTemplateChanged ( _
oldTemplate As ControlTemplate, _
newTemplate As ControlTemplate _
)
protected override void OnTemplateChanged(
ControlTemplate oldTemplate,
ControlTemplate newTemplate
)
protected:
virtual void OnTemplateChanged(
ControlTemplate^ oldTemplate,
ControlTemplate^ newTemplate
) override
abstract OnTemplateChanged :
oldTemplate:ControlTemplate *
newTemplate:ControlTemplate -> unit
override OnTemplateChanged :
oldTemplate:ControlTemplate *
newTemplate:ControlTemplate -> unit
protected override function OnTemplateChanged(
oldTemplate : ControlTemplate,
newTemplate : ControlTemplate
)
Parameters
- oldTemplate
Type: System.Windows.Controls.ControlTemplate
The old template.
- newTemplate
Type: System.Windows.Controls.ControlTemplate
The new 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.