C# Class WinRTXamlToolkit.Controls.Data.DataTemplateExtensions

Implements the Hierarchy attached property of type HierarchicalDataTemplate that is used in hierarchical controls such as TreeView to define the bindings and templates used to visualize the hierarchy.
显示文件 Open project: xyzzer/WinRTXamlToolkit

Public Properties

Property Type Description
HierarchyProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
GetHierarchy ( DependencyObject d ) : HierarchicalDataTemplate

Gets the Hierarchy property. This dependency property indicates the hierarchical template extensions to use for data-bound hierarchical controls.

SetHierarchy ( DependencyObject d, HierarchicalDataTemplate value ) : void

Sets the Hierarchy property. This dependency property indicates the hierarchical template extensions to use for data-bound hierarchical controls.

Private Methods

Method Description
OnHierarchyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Hierarchy property.

Method Details

GetHierarchy() public static method

Gets the Hierarchy property. This dependency property indicates the hierarchical template extensions to use for data-bound hierarchical controls.
public static GetHierarchy ( DependencyObject d ) : HierarchicalDataTemplate
d Windows.UI.Xaml.DependencyObject
return HierarchicalDataTemplate

SetHierarchy() public static method

Sets the Hierarchy property. This dependency property indicates the hierarchical template extensions to use for data-bound hierarchical controls.
public static SetHierarchy ( DependencyObject d, HierarchicalDataTemplate value ) : void
d Windows.UI.Xaml.DependencyObject
value HierarchicalDataTemplate
return void

Property Details

HierarchyProperty public_oe static_oe property

Hierarchy Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml HierarchyProperty
return Windows.UI.Xaml.DependencyProperty