RibbonCheckBox.OnApplyTemplate Method

Builds the visual tree for the RibbonCheckBox 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

See Also

Reference

RibbonCheckBox Class

Microsoft.Windows.Controls.Ribbon Namespace