Page::Template Property
.NET Framework (current version)
Gets or sets the control template for a Page.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: property ControlTemplate^ Template { ControlTemplate^ get(); void set(ControlTemplate^ value); }
<object Template="{resourceExtension styleResourceKey}"/>
- resourceExtension
A markup extension that identifies how to reference the template resource, either StaticResource or DynamicResource. See XAML Resources.
- styleResourceKey
The key that identifies the requested template selector. The key refers to an existing resource in a ResourceDictionary.
Note |
|---|
Property element syntax is technically possible, but not recommended. For more information, see Inline Styles and Templates. |
Identifier field | |
Metadata properties set to true |
.NET Framework
Available since 3.0
Available since 3.0
Show:
