mfractor / mfractor-feedback

Found a bug or have a feature request for MFractor? Submit it here!
3 stars 0 forks source link

Scaffold View with ViewModel #256

Open lachlanwgordon opened 4 years ago

lachlanwgordon commented 4 years ago

In the scaffolder if you type 'NewPage.xaml' there would be an extra option 'Create a new XAML page with code behind and view model'.

This would create a NewPage.xaml, NewPage.xaml.cs and NewPageViewModel.cs and would follow the settings for the project set in the Project MVVM Settings accessed from the MVVM Wizard.

If the MVVM Wizard had never been used in the current project before it would display the Project MVVM Settings .

lachlanwgordon commented 4 years ago

The same should be available for .razor files