Control.Template property

Expand
0 out of 1 rated this helpful - Rate this topic

Control.Template property

[This documentation is preliminary and is subject to change.]

Gets or sets a control template.

Syntax


public ControlTemplate Template { get; set; }


<control Template="{StaticResource templateResourceKey}"/>

XAML Values

templateResourceKey

The key that identifies the template being requested. The key refers to an existing resource in a ResourceDictionary.

Note  Property element syntax to define an inline template is technically possible, but not recommended for most template scenarios.

Property value

Type: ControlTemplate

The template that defines the appearance of the Control.

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

Control

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD