Commit Graph

9 Commits

Author SHA1 Message Date
Markus Ewald
7376852ae1 DataContext change event was not triggered on .NET 8.0 because it brings its own DataContext property and related event, adapted the code to still fire my custom OnDataContextChange() notification 2025-06-24 11:12:34 +02:00
Markus Ewald
d057f70449 Added option to create service scopes per window or dialog by overriding the WindowManager.CreateScope() method 2025-06-19 15:16:26 +02:00
Markus Ewald
f6457b1909 View model disposal is now done via a lambda method with captured variables rather than by tagging the view 2025-06-19 14:02:02 +02:00
Markus Ewald
0761f1a8c1 Upgraded project to .NET 8.0 because .NET 6.0 is out of support 2025-06-19 10:55:52 +02:00
Markus Ewald
0037b7de46 Changed license to Apache License 2.0 2025-06-19 10:55:24 +02:00
Markus Ewald
2b908f18eb The window manager can now also create just view models (without immediately binding a view); added MultiPageViewModel as a base class for the common case of view models that embed multi pages they can switch between; added missing copyright statement for the late checked synchronization context
git-svn-id: file:///srv/devel/repo-conversion/nuwi@49 d2e56fa2-650e-0410-a79f-9358c0239efd
2019-02-13 10:30:19 +00:00
Markus Ewald
a17926d02e ViewControl and ViewForm were not actually reacting when their data context changed -- fixed; view models can now delay their search for a main window (needed to synchronize change notifications to the main threads because of those shitty WinForms controls); WindowManager now accepts ...Page as a postfix for a view name, too
git-svn-id: file:///srv/devel/repo-conversion/nuwi@48 d2e56fa2-650e-0410-a79f-9358c0239efd
2019-02-11 18:05:06 +00:00
Markus Ewald
9aa64c4dac Added a placeholder auto binding system to automate binding of views to view models without writing so much boilerplate code
git-svn-id: file:///srv/devel/repo-conversion/nuwi@44 d2e56fa2-650e-0410-a79f-9358c0239efd
2019-02-06 18:34:47 +00:00
Markus Ewald
826f2eb763 Created a window manager that will automatically locate the matching view to a view model and set up the view's data context for binding; also added an interface through which other services can track the active window (i.e. to display message boxes so view models don't have to drag around a view reference just for that)
git-svn-id: file:///srv/devel/repo-conversion/nuwi@43 d2e56fa2-650e-0410-a79f-9358c0239efd
2019-02-06 18:04:10 +00:00