Dela via


TreeViewItem.HasUnrealizedChildren Property

Definition

Gets or sets a value that indicates whether the current item has child items that haven't been shown.

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

public:
 property bool HasUnrealizedChildren { bool get(); void set(bool value); };
bool HasUnrealizedChildren();

void HasUnrealizedChildren(bool value);
public bool HasUnrealizedChildren { get; set; }
var boolean = treeViewItem.hasUnrealizedChildren;
treeViewItem.hasUnrealizedChildren = boolean;
Public Property HasUnrealizedChildren As Boolean

Property Value

Boolean

bool

true if the current item has child items that haven't been shown; otherwise, false.

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