Class HierarchicalDataTemplate
Represents a System.Windows.DataTemplate that supports System.Windows.Controls.HeaderedItemsControl objects, such as System.Windows.Controls.TreeViewItem.
Inheritance
Namespace: Syncfusion.UI.Xaml.Controls.SfRibbon
Assembly: Syncfusion.SfRibbon.UWP.dll
Syntax
public class HierarchicalDataTemplate : DataTemplate
Constructors
HierarchicalDataTemplate()
Initializes a new instance of the HierarchicalDataTemplate class. WinRTXamlToolkit.Controls.Data.HierarchicalDataTemplate class.
Declaration
public HierarchicalDataTemplate()
Properties
ItemContainerStyle
Gets or sets the System.Windows.Style that is applied to the item container for each child item.
Declaration
public Style ItemContainerStyle { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Style | The style that is applied to the item container for each child item. |
ItemsSource
Gets or sets the values for the item source
Declaration
public Binding ItemsSource { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Data.Binding |
ItemTemplate
Gets or sets the System.Windows.DataTemplate to apply to the System.Windows.Controls.ItemsControl.ItemTemplate property on a generated System.Windows.Controls.HeaderedItemsControl, such as a System.Windows.Controls.TreeViewItem, to indicate how to display items from the next sublevel in the data hierarchy.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.DataTemplate | The System.Windows.DataTemplate to apply to the System.Windows.Controls.ItemsControl.ItemTemplate property on a generated System.Windows.Controls.HeaderedItemsControl, such as a System.Windows.Controls.TreeViewItem, to indicate how to display items from the next sublevel in the data hierarchy. |
Template
Gets or sets the value for the template
Declaration
public DataTemplate Template { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |