Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HierarchicalDataTemplate Properties

The HierarchicalDataTemplate type exposes the following members.

  Name Description
Public property AlternationCount Gets or sets the number of alternating item containers for the child items.
Public property DataTemplateKey Gets the default key of the DataTemplate. (Inherited from DataTemplate.)
Public property DataType Gets or sets the type for which this DataTemplate is intended. (Inherited from DataTemplate.)
Public property Dispatcher Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public property HasContent Gets a value that indicates whether this template has optimized content. (Inherited from FrameworkTemplate.)
Public property IsSealed Gets a value that indicates whether this object is in an immutable state so it cannot be changed. (Inherited from FrameworkTemplate.)
Public property ItemBindingGroup Gets or sets the BindingGroup that is copied to each child item.
Public property ItemContainerStyle Gets or sets the Style that is applied to the item container for each child item.
Public property ItemContainerStyleSelector Gets or sets custom style-selection logic for a style that can be applied to each item container.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property Resources Gets or sets the collection of resources that can be used within the scope of this template. (Inherited from FrameworkTemplate.)
Public property 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.)
Public property Triggers Gets a collection of triggers that apply property values or perform actions based on one or more conditions. (Inherited from DataTemplate.)
Public property VisualTree Gets or sets the root node of the template. (Inherited from FrameworkTemplate.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.