Loads the relevant control template so that its parts can be referenced.
Assembly: System.Windows (in System.Windows.dll)
For typical element logic within applications, such as when consuming existing controls, calling is not necessary, because templates will be applied to elements at an appropriate point in their lifetimes automatically. is generally speaking used only by authors of controls.
Call this method for cases where a control is the parent of another templated control, and the child control template must exist so that the parent control can apply all necessary state and run-time property setting in the parent's instantiation logic.
Any layout pass that generates a new layout will also call on a control.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.