Share via


RadioButtons.HeaderTemplate Property

Definition

Gets or sets the data template used to display the content of the control's header.

DataTemplate HeaderTemplate();

void HeaderTemplate(DataTemplate value);
public DataTemplate HeaderTemplate { get; set; }
var dataTemplate = radioButtons.headerTemplate;
radioButtons.headerTemplate = dataTemplate;
Public Property HeaderTemplate As DataTemplate

Property Value

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

Remarks

You can set a data template for the header by using the HeaderTemplate property.

If the HeaderTemplate property is set, it is used for the header and the Header property is ignored.

Applies to

See also