Click or drag to resize

MainWindowViewModel class

ViewModel for the MainWindow.
Inheritance hierarchy
SystemObject
  NetEti.MVVMiniObservableObject
    Vishnu.ViewModelMainWindowViewModel

Namespace: Vishnu.ViewModel
Assembly: Vishnu.ViewModel (in Vishnu.ViewModel.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public class MainWindowViewModel : ObservableObject,
	 
	IViewModelRoot

The MainWindowViewModel Type exposes the following members.

Constructors
 NameDescription of the
Public MethodMainWindowViewModel constructor - takes over the ViewModel for the LogicalTaskTree and a method of the MainWindows to restore the window size depending on the window content.
Back to the top
Properties
 NameDescription of the
Public PropertyBreakJobGroups Command for the Break button in the LogicalTaskTreeControl.
Public PropertyInitSizeCommand Sets the window size, taking maximum limits into account, to the height and width of the content and the SizeToContent property to WidthAndHeight.
Public PropertyJobGroupsVM List of JobListViewModels with their checkers.
Public PropertyRunJobGroups Command for the Run button in the LogicalTaskTreeControl.
Public PropertyShowVishnuHelpCommand Calls up the Vishnu online help.
Public PropertySwitchTaskTreeViewRoutedCommand Sets the window size, taking maximum limits into account, to the height and width of the content and the SizeToContent property to WidthAndHeight.
Public PropertyTreeParams Additional parameters that are valid for the entire tree or null.
Public PropertyTreeVM ViewModel for the LogicalTaskTree.
Public PropertyWindowTitle The title of the main window.
Back to the top
Methods
 NameDescription of the
Public MethodGetTopJobListViewModel Returns the top JobListViewModel of the tree as IVishnuViewModel.
Protected MethodOnPropertyChanged Reports for the UI when a property has changed.
(Inherited from ObservableObject)
Public MethodRaisePropertyChanged(String) Triggers OnPropertyChanged.
(Inherited from ObservableObject)
Public MethodRaisePropertyChangedT(ExpressionFuncT) Triggers OnPropertyChanged.
(Inherited from ObservableObject)
Public MethodRefreshDependentAlternativeViewModels Updates the ViewModels of any additional views, that map the same BusinessLogic (here: JobGroupViewModel).
Public MethodSaveTreeState Calls the method of the same name in the LogicalTaskTreeViewModel to save the current display status of the main window (parameter) and all nodes (collapsed or expanded).
Public MethodSetTopJobListViewModel Sets the top JobListViewModel of the tree. Returns the previous top JobListViewModel.
Public MethodShowVishnuHelpTask Displays the Vishnu online help.
Public MethodSwitchTakTreeViewRouted Initiates the request to change the tree alignment (Yin_Yang) the Main-JobListViewModel.
Protected MethodVerifyCalledOnUIThread Checks whether a call is made from the correct thread (dispatcher).
(Inherited from ObservableObject)
Back to the top
Events
 NameDescription of the
Public EventPropertyChanged The PropertyChanged event for the UI.
(Inherited from ObservableObject)
Back to the top
Fields
 NameDescription of the
Protected FieldDispatcher The dispatcher of the UI.
(Inherited from ObservableObject)
Back to the top
Remarks
File: MainWindowViewModel Author: Erik Nagel 09.01.2014 Erik Nagel: created
See also