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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.