TreeViewNode TreeViewNode TreeViewNode TreeViewNode Class

Definition

Represents a node in a TreeView control.

public : class TreeViewNode : DependencyObject
struct winrt::Microsoft::UI::Xaml::Controls::TreeViewNode : DependencyObject
public class TreeViewNode : DependencyObject
Public Class TreeViewNode Inherits DependencyObject
Attributes

Constructors

TreeViewNode() TreeViewNode() TreeViewNode() TreeViewNode()

Initializes a new instance of the TreeViewNode class.

Properties

Children Children Children Children

Gets the collection of nodes that are children of the current node.

Content Content Content Content

Gets or sets the data content for the current node.

ContentProperty ContentProperty ContentProperty ContentProperty

Identifies the Content dependency property.

Depth Depth Depth Depth

Gets a value that indicates how far the current node is from the root node of the tree.

DepthProperty DepthProperty DepthProperty DepthProperty

Identifies the Depth dependency property.

HasChildren HasChildren HasChildren HasChildren

Gets a value that indicates whether the current node has child items.

HasChildrenProperty HasChildrenProperty HasChildrenProperty HasChildrenProperty

Identifies the HasChildren dependency property.

HasUnrealizedChildren HasUnrealizedChildren HasUnrealizedChildren HasUnrealizedChildren

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

IsExpanded IsExpanded IsExpanded IsExpanded

Gets or sets a value that indicates whether the cuurent tree view node is expanded.

IsExpandedProperty IsExpandedProperty IsExpandedProperty IsExpandedProperty

Identifies the IsExpanded dependency property.

Parent Parent Parent Parent

Gets or sets the node that is the parent of the current node.

Applies to