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
-
PropertyChangedBaseModuleTreeItemViewModel
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
- Extension Methods
Constructors
ModuleTreeItemViewModel(ILisrtModule)
Initializes a new instance of the ModuleTreeItemViewModel class.
public ModuleTreeItemViewModel(ILisrtModule module)
Parameters
module
ILisrtModuleThe 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
IsSelected
Gets or sets a value indicating whether the TreeViewItem associated with this object is selected.
public bool IsSelected { get; set; }
Property Value
IsVisible
Gets or sets a value indicating whether the TreeViewItem associated with this object is visible.
public bool IsVisible { get; set; }
Property Value
Module
Gets module.
public ILisrtModule Module { get; }
Property Value
ModuleEnabled
Gets or sets a value indicating whether the module is enabled.
public bool ModuleEnabled { get; set; }
Property Value
Parent
Gets the parent view model.
public ModuleTreeItemViewModel Parent { get; }
Property Value
SubModulesTreeItems
Gets the tree item view model of the sub modules.
public ObservableCollection<ModuleTreeItemViewModel> SubModulesTreeItems { get; }
Property Value
SubmodulesView
Gets the view for the SubModules.
public ICollectionView SubmodulesView { get; }
Property Value
TreeItem
Gets the view model for the tree item.
public ITreeItem TreeItem { get; }