HierarchicalDataTemplate.ItemTemplate Property

 

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

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

member ItemTemplate : DataTemplate with get, set

Property Value

Type: System.Windows.DataTemplate

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

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: