FrameworkTemplate.LoadContent Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Loads the content of the template as an instance of an object and returns the root element of the content.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public DependencyObject LoadContent()

Return Value

Type: System.Windows.DependencyObject

The root element of the content. Calling this multiple times returns separate instances.

.NET Framework
Available since 3.0
Return to top
Show: