Edytuj

Udostępnij za pośrednictwem


FrameworkTemplate.LoadContent Method

Definition

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