TreeView.ItemTemplateSelector TreeView.ItemTemplateSelector TreeView.ItemTemplateSelector TreeView.ItemTemplateSelector Property

Definition

Gets or sets a reference to a custom DataTemplateSelector logic class. The DataTemplateSelector referenced by this property returns a template to apply to items.

public : DataTemplateSelector ItemTemplateSelector { get; set; }
DataTemplateSelector ItemTemplateSelector();

void ItemTemplateSelector(DataTemplateSelector itemtemplateselector);
public DataTemplateSelector ItemTemplateSelector { get; set; }
Public ReadWrite Property ItemTemplateSelector As DataTemplateSelector
<TreeView ItemTemplateSelector="dataTemplateSelectorReference" />

Property Value

A reference to a custom DataTemplateSelector logic class.

Additional features and requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)