Share via


Expander.HeaderTemplateSelector Property

Definition

Gets or sets a reference to a custom DataTemplateSelector logic class that returns a template to apply to the Header.

DataTemplateSelector HeaderTemplateSelector();

void HeaderTemplateSelector(DataTemplateSelector value);
public DataTemplateSelector HeaderTemplateSelector { get; set; }
var dataTemplateSelector = expander.headerTemplateSelector;
expander.headerTemplateSelector = dataTemplateSelector;
Public Property HeaderTemplateSelector As DataTemplateSelector

Property Value

A reference to a custom DataTemplateSelector logic class.

Applies to