This documentation is archived and is not being maintained.

RibbonWindow.OnApplyTemplate Method

Visual Studio 2010

Builds the visual tree for the RibbonWindow when a new template is applied.

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

public override void OnApplyTemplate()

This method is invoked whenever application code or an internal process, such as a rebuilding layout pass, calls the ApplyTemplate method.

Show: