Udostępnij za pośrednictwem


TreeViewItem.ItemsSourceProperty Property

Definition

Identifies the ItemsSource dependency property.

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

public:
 static property DependencyProperty ^ ItemsSourceProperty { DependencyProperty ^ get(); };
static DependencyProperty ItemsSourceProperty();
public static DependencyProperty ItemsSourceProperty { get; }
var dependencyProperty = TreeViewItem.itemsSourceProperty;
Public Shared ReadOnly Property ItemsSourceProperty As DependencyProperty

Property Value

The identifier for the ItemsSource 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