HierarchicalDataTemplate Properties
.NET Framework 4.5
The HierarchicalDataTemplate type exposes the following members.
| Name | Description | |
|---|---|---|
|
AlternationCount | Gets or sets the number of alternating item containers for the child items. |
|
DataTemplateKey | Gets the default key of the DataTemplate. (Inherited from DataTemplate.) |
|
DataType | Gets or sets the type for which this DataTemplate is intended. (Inherited from DataTemplate.) |
|
Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) |
|
HasContent | Gets a value that indicates whether this template has optimized content. (Inherited from FrameworkTemplate.) |
|
IsSealed | Gets a value that indicates whether this object is in an immutable state so it cannot be changed. (Inherited from FrameworkTemplate.) |
|
ItemBindingGroup | Gets or sets the BindingGroup that is copied to each child item. |
|
ItemContainerStyle | Gets or sets the Style that is applied to the item container for each child item. |
|
ItemContainerStyleSelector | Gets or sets custom style-selection logic for a style that can be applied to each item container. |
|
ItemsSource | Gets or sets the binding for this data template, which indicates where to find the collection that represents the next level in the data hierarchy. |
|
ItemStringFormat | Gets or sets a composite string that specifies how to format the items in the next level in the data hierarchy if they are displayed as strings. |
|
ItemTemplate | 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. |
|
ItemTemplateSelector | 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. |
|
Resources | Gets or sets the collection of resources that can be used within the scope of this template. (Inherited from FrameworkTemplate.) |
|
Template | Gets or sets a reference to the object that records or plays the XAML nodes for the template when the template is defined or applied by a writer. (Inherited from FrameworkTemplate.) |
|
Triggers | Gets a collection of triggers that apply property values or perform actions based on one or more conditions. (Inherited from DataTemplate.) |
|
VisualTree | Gets or sets the root node of the template. (Inherited from FrameworkTemplate.) |