Share via


ContentDialog.TitleTemplate Property

Definition

Gets or sets the title template.

DataTemplate TitleTemplate();

void TitleTemplate(DataTemplate value);
public DataTemplate TitleTemplate { get; set; }
var dataTemplate = contentDialog.titleTemplate;
contentDialog.titleTemplate = dataTemplate;
Public Property TitleTemplate As DataTemplate
<ContentDialog>
  <ContentDialog.TitleTemplate>
    singleDataTemplate
  </ContentDialog.TitleTemplate>
</ContentDialog>
- or -
<ContentDialog TitleTemplate="resourceReferenceToDataTemplate"/>

Property Value

The title template.

Applies to