LongListSelector.ListHeaderTemplate Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the DataTemplatefor an item to display at the head of the LongListSelector.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property ListHeaderTemplate As DataTemplate
public DataTemplate ListHeaderTemplate { get; set; }
<object>
  <object.ListHeaderTemplate>
    <DataTemplate .../>
  </object.ListHeaderTemplate>
</object>

Property Value

Type: System.Windows..::.DataTemplate
The DataTemplate for an item to display at the head of the LongListSelector.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

LongListSelector Class

Microsoft.Phone.Controls Namespace