Share via


TreeViewItem.HasUnrealizedChildren 屬性

定義

取得或設定值,這個值表示目前專案是否有尚未顯示的子專案。

public:
 property bool HasUnrealizedChildren { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
bool HasUnrealizedChildren();

void HasUnrealizedChildren(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
bool HasUnrealizedChildren();

void HasUnrealizedChildren(bool value);
public bool HasUnrealizedChildren { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public bool HasUnrealizedChildren { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
var boolean = treeViewItem.hasUnrealizedChildren;
treeViewItem.hasUnrealizedChildren = boolean;
Public Property HasUnrealizedChildren As Boolean

屬性值

Boolean

bool

如果目前專案有尚未顯示的子專案,則為 true。 否則為 false

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

適用於