Class
HierarchicalNodeViewModel

MVVM representation of a hierarchical node.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Extensions.ViewModels

Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll

Syntax:

cs-api-definition
public class HierarchicalNodeViewModel : NodeViewModelBase, INotifyPropertyChanged, IDisposable

Inheritance: objectViewModelBaseItemViewModelBaseNodeViewModelBaseHierarchicalNodeViewModel

Implements: IDisposableINotifyPropertyChanged

Inherited Members NodeViewModelBase.WidthNodeViewModelBase.HeightNodeViewModelBase.RotationAngleItemViewModelBase.VisibilityItemViewModelBase.PositionItemViewModelBase.ContentItemViewModelBase.IsSelectedViewModelBase.VerifyPropertyName(string)ViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.RaisePropertyChanged(string)ViewModelBase.OnPropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.Dispose(bool)ViewModelBase.PropertyChanged

Constructors

HierarchicalNodeViewModel()

Initializes a new instance of the HierarchicalNodeViewModel class.

Declaration

cs-api-definition
public HierarchicalNodeViewModel()

Properties

Children

Gets or sets the children of the current node.

Declaration

cs-api-definition
public ObservableCollection<HierarchicalNodeViewModel> Children { get; }

Property Value

ObservableCollection<HierarchicalNodeViewModel>

The children.

HasChildren

Gets a value indicating whether this instance has children.

Declaration

cs-api-definition
public bool HasChildren { get; }

Property Value

bool

True if this instance has children; otherwise, false.