Dela via


Hub.HeaderTemplate Property

Definition

Gets or sets the DataTemplate used to display the content of the hub header.

DataTemplate HeaderTemplate();

void HeaderTemplate(DataTemplate value);
public DataTemplate HeaderTemplate { get; set; }
var dataTemplate = hub.headerTemplate;
hub.headerTemplate = dataTemplate;
Public Property HeaderTemplate As DataTemplate
<Hub HeaderTemplate="resourceReferenceToDataTemplate"/>
- or -
<Hub>
  <Hub.HeaderTemplate>
     <DataTemplate>
      dataTemplateDefinition
    </DataTemplate>
  </Hub.HeaderTemplate>
</Hub>

Property Value

The template that specifies the visualization of the header object. The default is null.

Applies to

See also