Pivot.TitleTemplate property

Applies to Windows Phone only

Gets or sets the title template used for displaying the title above the headers area.

Syntax


public DataTemplate TitleTemplate { get; set; }


<Pivot TitleTemplate="resourceReferenceToDataTemplate"/>


<Pivot>
  <Pivot.TitleTemplate>
     <DataTemplate>
      dataTemplateDefinition
    </DataTemplate>
  </Pivot.TitleTemplate>
</Pivot>

XAML Values

resourceReferenceToDataTemplate

A resource reference to an existing DataTemplate from a resources collection. The resource reference must specify the desired DataTemplate by key through a StaticResource usage.

dataTemplateDefinition

Definition for the DataTemplate, including its root element container and parts within that present the data-based content.

Property value

Type: DataTemplate

The template that specifies the visualization of the title object.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

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

Metadata

Windows.winmd

See also

Pivot
DataTemplate

 

 

Show:
© 2014 Microsoft