FrameworkTemplate.LoadContent Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads the content of the template as an instance of an object and returns the root element of the content.
public:
 System::Windows::DependencyObject ^ LoadContent();
	public System.Windows.DependencyObject LoadContent();
	member this.LoadContent : unit -> System.Windows.DependencyObject
	Public Function LoadContent () As DependencyObject
	Returns
The root element of the content. Calling this multiple times returns separate instances.