ValidationSummary.HeaderTemplate Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the template that is used to display the content of the header.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data.Input (in System.Windows.Controls.Data.Input.dll)

Syntax

'Declaration
Public Property HeaderTemplate As DataTemplate
public DataTemplate HeaderTemplate { get; set; }
<sdk:ValidationSummary>
  <sdk:ValidationSummary.HeaderTemplate>
    dataTemplate
  </sdk:ValidationSummary.HeaderTemplate>
</sdk:ValidationSummary>
<sdk:ValidationSummary HeaderTemplate="templateReference"/>

XAML Values

Property Value

Type: System.Windows.DataTemplate
The template that is used to display the content of the header.

Remarks

Dependency property identifier field: HeaderTemplateProperty

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.