MVVM representation of a hierarchical node.
Definition
Namespace:Telerik.Windows.Controls.Diagrams.Extensions.ViewModels
Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll
Syntax:
C#
public class HierarchicalNodeViewModel : NodeViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseItemViewModelBaseNodeViewModelBaseHierarchicalNodeViewModel
Implements:
Inherited Members
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; }
The children.
Gets a value indicating whether this instance has children.
C#
public bool HasChildren { get; }
True if this instance has children; otherwise, false.