Delen via


TreeView.ItemTemplateProperty Property

Definition

Identifies the ItemTemplate dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeView.ItemTemplateProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 static property DependencyProperty ^ ItemTemplateProperty { DependencyProperty ^ get(); };
static DependencyProperty ItemTemplateProperty();
public static DependencyProperty ItemTemplateProperty { get; }
var dependencyProperty = TreeView.itemTemplateProperty;
Public Shared ReadOnly Property ItemTemplateProperty As DependencyProperty

Property Value

The identifier for the ItemTemplate dependency property.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to