![]() | Main |
The MainWindow Type exposes the following members.
Name | Description of the | |
---|---|---|
![]() | MainWindow | Constructor of the main window. |
Name | Description of the | |
---|---|---|
![]() | FirstSelectedIndex | If 1, start with the job view, otherwise with the tree view (default: 0). |
![]() | MainWindowAspects | Essential display features of the Vishnu MainWindow. Are filled from the AppSettings when the application is started. |
![]() | MinLeft | Far left on the current screen. |
![]() | MinTop | At the top of the current screen. |
![]() | SizeOnVirtualScreen | With true, several screens are displayed as a single screen. large screen, otherwise what counts for Changes in the size and position of the screen on which is the main location of the MainWindow (ActualScreen). Is currently (02/02/2024) always set to true internally! Previously default: false; Must be set externally after instantiation. |
Name | Description of the | |
---|---|---|
![]() | ForceRecalculateWindowMeasures | Sets the window size, taking maximum limits into account, to the height and width of the content and the SizeToContent property to WidthAndHeight. Then re-centre the window relative to the last position. |
![]() | InitializeComponent | InitializeComponent |
![]() | MoveWindowToStartPosition | Centres Window on Screen. |
![]() | OnSourceinitialized |
Raises the System.Windows.Window.Sourceinitialized event.
(Overwrites WindowOnSourceinitialized(EventArgs)) |
![]() | RecalculateWindowMeasures | Sets the window size, taking maximum limits into account, to the height and width of the content and the SizeToContent property to WidthAndHeight. Then re-centre the window relative to the last position. |
Name | Description of the | |
---|---|---|
![]() | IsRelocating | Indicates that the main window is currently changing its location and therefore cannot yet report the correct end position to the checker and worker. Is used in App.cs to react to the first positioning when the application is started. of the main window before an autostart is performed. |
![]() ![]() | SaveWindowAspectsAndCallViewModelLogicCommand | Calls the local routine "SaveWindowAspectsAndCallViewModelLogic". This saves the current window display parameters in an instance of "WindowAspects" and then passes "WindowAspects" as a call parameter to the ViewModel routine "SaveTreeState", which in turn saves the WindowAspects together with tree-relevant parameters. |