Page.Template Property

 

Gets or sets the control template for a Page.

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

Public Property Template As ControlTemplate

<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.

System_CAPS_noteNote

Property element syntax is technically possible, but not recommended. For more information, see Inline Styles and Templates.

Identifier field

TemplateProperty

Metadata properties set to true

AffectsMeasure

.NET Framework
Available since 3.0
Return to top
Show: