Class ModuleTreeItemViewModel
View model for an item of an ILisrtModule in the module tree view.
Implements
Caliburn.Micro.INotifyPropertyChangedEx
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Caliburn.Micro.PropertyChangedBase.Refresh()
Caliburn.Micro.PropertyChangedBase.NotifyOfPropertyChange(System.String)
Caliburn.Micro.PropertyChangedBase.NotifyOfPropertyChange<TProperty>(System.Linq.Expressions.Expression<System.Func<TProperty>>)
Caliburn.Micro.PropertyChangedBase.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)
Caliburn.Micro.PropertyChangedBase.OnUIThread(System.Action)
Caliburn.Micro.PropertyChangedBase.Set<T>(T, T, System.String)
Caliburn.Micro.PropertyChangedBase.IsNotifying
Caliburn.Micro.PropertyChangedBase.PropertyChanged
Namespace: Loehnert.Lisrt.Modules.ViewModels
Assembly: Loehnert.Lisrt.Modules.dll
Syntax
public class ModuleTreeItemViewModel : PropertyChangedBase, INotifyPropertyChangedEx
Constructors
ModuleTreeItemViewModel(ILisrtModule)
Initializes a new instance of the ModuleTreeItemViewModel class.
Declaration
public ModuleTreeItemViewModel(ILisrtModule module)
Parameters
Type | Name | Description |
---|---|---|
ILisrtModule | module | The root ILisrtModule for the tree. |
Properties
IsExpanded
Gets or sets a value indicating whether the System.Windows.Controls.TreeViewItem associated with this object is expanded.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsSelected
Gets or sets a value indicating whether the System.Windows.Controls.TreeViewItem associated with this object is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsVisible
Gets or sets a value indicating whether the System.Windows.Controls.TreeViewItem associated with this object is visible.
Declaration
public bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Module
Gets module.
Declaration
public ILisrtModule Module { get; }
Property Value
Type | Description |
---|---|
ILisrtModule |
ModuleEnabled
Gets or sets a value indicating whether the module is enabled.
Declaration
public bool ModuleEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Parent
Gets the parent view model.
Declaration
public ModuleTreeItemViewModel Parent { get; }
Property Value
Type | Description |
---|---|
ModuleTreeItemViewModel |
SubModulesTreeItems
Gets the tree item view model of the sub modules.
Declaration
public ObservableCollection<ModuleTreeItemViewModel> SubModulesTreeItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<ModuleTreeItemViewModel> |
SubmodulesView
Gets the view for the SubModules.
Declaration
public ICollectionView SubmodulesView { get; }
Property Value
Type | Description |
---|---|
ICollectionView |
TreeItem
Gets the view model for the tree item.
Declaration
public ITreeItem TreeItem { get; }
Property Value
Type | Description |
---|---|
ITreeItem |
Implements
Caliburn.Micro.INotifyPropertyChangedEx
System.ComponentModel.INotifyPropertyChanged