New to Telerik UI for WPFStart a free 30-day trial

MVVM representation of a hierarchical node.

Definition

Constructors

Initializes a new instance of the HierarchicalNodeViewModel class.

C#
public HierarchicalNodeViewModel()

Properties

Gets or sets the children of the current node.

C#
public ObservableCollection<HierarchicalNodeViewModel> Children { get; }
Property Value:

The children.

Gets a value indicating whether this instance has children.

C#
public bool HasChildren { get; }
Property Value:

True if this instance has children; otherwise, false.