HierarchicalDataTemplate.ItemTemplateSelector Property

 

Gets or sets the DataTemplateSelector to apply to the ItemTemplateSelector property on a generated HeaderedItemsControl (such as a MenuItem or a TreeViewItem), to indicate how to select a template to display items from the next level in the data hierarchy.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public DataTemplateSelector ItemTemplateSelector { get; set; }

Property Value

Type: System.Windows.Controls.DataTemplateSelector

The DataTemplateSelector object to apply to the ItemTemplateSelector property on a generated HeaderedItemsControl (such as a MenuItem or a TreeViewItem), to indicate how to select a template to display items from the next level in the data hierarchy.

.NET Framework
Available since 3.0
Return to top
Show: