Table of Contents

Class ModuleTreeItemViewModel

Namespace
Loehnert.Lisrt.Modules.ViewModels
Assembly
Loehnert.Lisrt.Modules.dll

View model for an item of an ILisrtModule in the module tree view.

public class ModuleTreeItemViewModel : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
Inheritance
PropertyChangedBase
ModuleTreeItemViewModel
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged
Extension Methods

Constructors

ModuleTreeItemViewModel(ILisrtModule)

Initializes a new instance of the ModuleTreeItemViewModel class.

public ModuleTreeItemViewModel(ILisrtModule module)

Parameters

module ILisrtModule

The root ILisrtModule for the tree.

Properties

IsExpanded

Gets or sets a value indicating whether the TreeViewItem associated with this object is expanded.

public bool IsExpanded { get; set; }

Property Value

bool

IsSelected

Gets or sets a value indicating whether the TreeViewItem associated with this object is selected.

public bool IsSelected { get; set; }

Property Value

bool

IsVisible

Gets or sets a value indicating whether the TreeViewItem associated with this object is visible.

public bool IsVisible { get; set; }

Property Value

bool

Module

Gets module.

public ILisrtModule Module { get; }

Property Value

ILisrtModule

ModuleEnabled

Gets or sets a value indicating whether the module is enabled.

public bool ModuleEnabled { get; set; }

Property Value

bool

Parent

Gets the parent view model.

public ModuleTreeItemViewModel Parent { get; }

Property Value

ModuleTreeItemViewModel

SubModulesTreeItems

Gets the tree item view model of the sub modules.

public ObservableCollection<ModuleTreeItemViewModel> SubModulesTreeItems { get; }

Property Value

ObservableCollection<ModuleTreeItemViewModel>

SubmodulesView

Gets the view for the SubModules.

public ICollectionView SubmodulesView { get; }

Property Value

ICollectionView

TreeItem

Gets the view model for the tree item.

public ITreeItem TreeItem { get; }

Property Value

ITreeItem