RibbonQuickAccessToolBar.OnApplyTemplate Method
Builds the visual tree for the RibbonQuickAccessToolBar when a new template is applied.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Overrides Sub OnApplyTemplate
public override void OnApplyTemplate()
public:
virtual void OnApplyTemplate() override
abstract OnApplyTemplate : unit -> unit
override OnApplyTemplate : unit -> unit
public override function OnApplyTemplate()
Remarks
This method is invoked whenever application code or an internal process, such as a rebuilding layout pass, calls the ApplyTemplate method.
.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.