Class
HierarchicalDataTemplateHelper

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:

cs-api-definition
public static class HierarchicalDataTemplateHelper

Inheritance: objectHierarchicalDataTemplateHelper

Fields

ItemContainerStyleProperty

Identifies the ItemContainerStyle attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemContainerStyleProperty

Field Value

DependencyProperty

ItemContainerStyleSelectorProperty

Identifies the ItemContainerStyleSelector attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemContainerStyleSelectorProperty

Field Value

DependencyProperty

ItemTemplateProperty

Identifies the ItemTemplate attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemTemplateProperty

Field Value

DependencyProperty

ItemTemplateSelectorProperty

Identifies the ItemTemplateSelector attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemTemplateSelectorProperty

Field Value

DependencyProperty

ItemsSourcePathProperty

Identifies the ItemsSourcePath attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourcePathProperty

Field Value

DependencyProperty

Methods

GetItemContainerStyle(DependencyObject)

Gets the ItemContainerStyle property.

Declaration

cs-api-definition
public static Style GetItemContainerStyle(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

Style

GetItemContainerStyleSelector(DependencyObject)

Gets the ItemContainerStyleSelector proeprty.

Declaration

cs-api-definition
public static StyleSelector GetItemContainerStyleSelector(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

StyleSelector

GetItemTemplate(DependencyObject)

Gets the ItemTemplate.

Declaration

cs-api-definition
public static DataTemplate GetItemTemplate(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

DataTemplate

GetItemTemplateSelector(DependencyObject)

Gets the ItemTemplateSelector.

Declaration

cs-api-definition
public static DataTemplateSelector GetItemTemplateSelector(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

DataTemplateSelector

GetItemsSourcePath(DependencyObject)

Gets the ItemsSourcePath.

Declaration

cs-api-definition
public static string GetItemsSourcePath(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

string

SetItemContainerStyle(DependencyObject, Style)

Sets the ItemContainerStyle property.

Declaration

cs-api-definition
public static void SetItemContainerStyle(DependencyObject obj, Style value)

Parameters

obj

DependencyObject

value

Style

SetItemContainerStyleSelector(DependencyObject, StyleSelector)

Sets the ItemContainerStyleSelector proeprty.

Declaration

cs-api-definition
public static void SetItemContainerStyleSelector(DependencyObject obj, StyleSelector value)

Parameters

obj

DependencyObject

value

StyleSelector

SetItemTemplate(DependencyObject, DataTemplate)

Sets the ItemTemplate.

Declaration

cs-api-definition
public static void SetItemTemplate(DependencyObject obj, DataTemplate value)

Parameters

obj

DependencyObject

value

DataTemplate

SetItemTemplateSelector(DependencyObject, DataTemplateSelector)

Sets the ItemTemplateSelector.

Declaration

cs-api-definition
public static void SetItemTemplateSelector(DependencyObject obj, DataTemplateSelector value)

Parameters

obj

DependencyObject

value

DataTemplateSelector

SetItemsSourcePath(DependencyObject, string)

Sets the ItemsSourcePath.

Declaration

cs-api-definition
public static void SetItemsSourcePath(DependencyObject obj, string value)

Parameters

obj

DependencyObject

value

string