Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RibbonButton.OnApplyTemplate Method ()

.NET Framework (current version)
 

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

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.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.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft