Show / Hide Table of Contents

Class TreeItemViewModelBase

A class to represent a tree item.

Inheritance
object
BindableBase
TreeItemViewModelBase
TemplateTreeItemViewModel
Implements
INotifyPropertyChanged
Inherited Members
BindableBase.SetProperty<T>(ref T, T, string)
BindableBase.SetProperty<T>(ref T, T, Action, string)
BindableBase.RaisePropertyChanged(string)
BindableBase.OnPropertyChanged(PropertyChangedEventArgs)
BindableBase.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class TreeItemViewModelBase : BindableBase, INotifyPropertyChanged
Remarks

Initializes a new instance of the TreeItemViewModelBase class.

Constructors

View Source

TreeItemViewModelBase(TreeItemViewModelBase)

A class to represent a tree item.

Declaration
public TreeItemViewModelBase(TreeItemViewModelBase parentItemVM)
Parameters
Type Name Description
TreeItemViewModelBase parentItemVM

The parent.

Remarks

Initializes a new instance of the TreeItemViewModelBase class.

Properties

View Source

Children

Gets or sets the item's children.

Declaration
public ObservableCollection<TreeItemViewModelBase> Children { get; set; }
Property Value
Type Description
ObservableCollection<TreeItemViewModelBase>
View Source

IsExpanded

Gets or sets a value indicating whether the item is expanded.

Declaration
public bool IsExpanded { get; set; }
Property Value
Type Description
bool
View Source

IsRoot

Gets a value indicating whether this item is a root.

Declaration
public bool IsRoot { get; }
Property Value
Type Description
bool
View Source

IsSelected

Gets or sets a value indicating whether the item is selected.

Declaration
public bool IsSelected { get; set; }
Property Value
Type Description
bool
View Source

ParentItemVM

Gets or sets the parent item.

Declaration
public TreeItemViewModelBase ParentItemVM { get; set; }
Property Value
Type Description
TreeItemViewModelBase

Implements

INotifyPropertyChanged
  • View Source
In this article
Back to top Generated by DocFX