ClassHierarchicalDataTemplateHelper
Provides properties for building a hierarchy of DataTemplates used for MVVM scenarios with HeaderedItemsControls such as RadRibbonTab.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public static class HierarchicalDataTemplateHelper
Inheritance: objectHierarchicalDataTemplateHelper
Fields
ItemContainerStyleProperty
Identifies the ItemContainerStyle attached property.
Declaration
public static readonly DependencyProperty ItemContainerStyleProperty
Field Value
DependencyProperty
ItemContainerStyleSelectorProperty
Identifies the ItemContainerStyleSelector attached property.
Declaration
public static readonly DependencyProperty ItemContainerStyleSelectorProperty
Field Value
DependencyProperty
ItemTemplateProperty
Identifies the ItemTemplate attached property.
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
DependencyProperty
ItemTemplateSelectorProperty
Identifies the ItemTemplateSelector attached property.
Declaration
public static readonly DependencyProperty ItemTemplateSelectorProperty
Field Value
DependencyProperty
ItemsSourcePathProperty
Identifies the ItemsSourcePath attached property.
Declaration
public static readonly DependencyProperty ItemsSourcePathProperty
Field Value
DependencyProperty
Methods
GetItemContainerStyle(DependencyObject)
Gets the ItemContainerStyle property.
Declaration
public static Style GetItemContainerStyle(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
Style
GetItemContainerStyleSelector(DependencyObject)
Gets the ItemContainerStyleSelector proeprty.
Declaration
public static StyleSelector GetItemContainerStyleSelector(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
StyleSelector
GetItemTemplate(DependencyObject)
Gets the ItemTemplate.
Declaration
public static DataTemplate GetItemTemplate(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
DataTemplate
GetItemTemplateSelector(DependencyObject)
Gets the ItemTemplateSelector.
Declaration
public static DataTemplateSelector GetItemTemplateSelector(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
DataTemplateSelector
GetItemsSourcePath(DependencyObject)
Gets the ItemsSourcePath.
Declaration
public static string GetItemsSourcePath(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
SetItemContainerStyle(DependencyObject, Style)
Sets the ItemContainerStyle property.
Declaration
public static void SetItemContainerStyle(DependencyObject obj, Style value)
Parameters
obj
DependencyObject
value
Style
SetItemContainerStyleSelector(DependencyObject, StyleSelector)
Sets the ItemContainerStyleSelector proeprty.
Declaration
public static void SetItemContainerStyleSelector(DependencyObject obj, StyleSelector value)
Parameters
obj
DependencyObject
value
StyleSelector
SetItemTemplate(DependencyObject, DataTemplate)
Sets the ItemTemplate.
Declaration
public static void SetItemTemplate(DependencyObject obj, DataTemplate value)
Parameters
obj
DependencyObject
value
DataTemplate
SetItemTemplateSelector(DependencyObject, DataTemplateSelector)
Sets the ItemTemplateSelector.
Declaration
public static void SetItemTemplateSelector(DependencyObject obj, DataTemplateSelector value)
Parameters
obj
DependencyObject
value
DataTemplateSelector
SetItemsSourcePath(DependencyObject, string)
Sets the ItemsSourcePath.
Declaration
public static void SetItemsSourcePath(DependencyObject obj, string value)
Parameters
obj
DependencyObject
value