Add codebehind as a framework option for WPF
Action plan:
We would like to better understand what Devs expect from a project generated with the CodeBehind framework for WPF.
When do you choose CodeBehind? For a quick Proof of Concept? To use you own MVVM framework? Other reasons?
We've prepared two approaches on what we think CodeBehind could look like for WPF at https://github.com/mvegaca/WpfCodeBehindSamples
Option 1 (DataBindingCodeBehindApp):
Option 2 (CodeBehindApp):
Would love to hear your comments on what you'd expect for CodeBehind for WPF.
Also, the two options we prepared are just samples. If you expect something else (like DI yes, but no Binding) comment on that too.
I want a hybrid:
Option 1 feels like MVVM but with the ViewModel in the code-behind file.
Issues found:
Menubar does not enable back button when navigating to details page of content grid in codebehind
Verified in dev-nightly:
Templates version: 0.22.20267.2
Wizard version: 0.22.20267.2
Most helpful comment
I want a hybrid:
Option 1 feels like MVVM but with the ViewModel in the code-behind file.