Class HierarchicalDataTemplate
Represents a DataTemplate that supports HeaderedItemsControl, such as RadTreeViewItem or RadMenuItem.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class HierarchicalDataTemplate : DataTemplate
Constructors
HierarchicalDataTemplate()
Initializes a new instance of the HierarchicalDataTemplate class.
Declaration
public HierarchicalDataTemplate()
Properties
ItemContainerStyle
Gets or sets the style for the containers of the items where this HierarchicalDataTemplate is applied. This property will only be applied if there is no ItemContainerStyle.
Declaration
public Style ItemContainerStyle { get; set; }
Property Value
System.Windows.Style
|
ItemContainerStyleSelector
Gets or sets a ItemContainerStyleSelector for the template.
Declaration
public StyleSelector ItemContainerStyleSelector { get; set; }
Property Value
StyleSelector
|
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.
Declaration
public Binding ItemsSource { get; set; }
Property Value
System.Windows.Data.Binding
|
ItemTemplate
Gets or sets the DataTemplate to apply to the ItemTemplate property on a generated HeaderedItemsControl (such as a RadMenuItem or a RadTreeViewItem), to indicate how to display items from the next level in the data hierarchy.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
ItemTemplateSelector
Gets or sets the DataTemplateSelector to apply to the ItemTemplateSelector property on a generated HeaderedItemsControl (such as a RadMenuItem or a RadTreeViewItem), to indicate how to select a template to display items from the next level in the data hierarchy.
Declaration
public DataTemplateSelector ItemTemplateSelector { get; set; }
Property Value
DataTemplateSelector
|