ToggleButton.OnApplyTemplate Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Builds the visual tree for the ToggleButton when a new template is applied.
Assembly: System.Windows (in System.Windows.dll)
This method is invoked whenever application code or internal processes, such as a rebuilding layout pass, calls the ApplyTemplate method.
Show: