Class TreeItemViewModelBase
A class to represent a tree item.
Implements
Inherited Members
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 SourceTreeItemViewModelBase(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 SourceChildren
Gets or sets the item's children.
Declaration
public ObservableCollection<TreeItemViewModelBase> Children { get; set; }
Property Value
Type | Description |
---|---|
ObservableCollection<TreeItemViewModelBase> |
IsExpanded
Gets or sets a value indicating whether the item is expanded.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsRoot
Gets a value indicating whether this item is a root.
Declaration
public bool IsRoot { get; }
Property Value
Type | Description |
---|---|
bool |
IsSelected
Gets or sets a value indicating whether the item is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
bool |
ParentItemVM
Gets or sets the parent item.
Declaration
public TreeItemViewModelBase ParentItemVM { get; set; }
Property Value
Type | Description |
---|---|
TreeItemViewModelBase |