MVVM-Samples icon indicating copy to clipboard operation
MVVM-Samples copied to clipboard

Base PageViewModel and PageView

Open denis-tsv opened this issue 4 years ago • 0 comments

Create BasePageViewModel with methods OnActivated/OnDeactivated (or OnNavigatedTo/OnNavigatefFrom) and PasePage. Invoce corresponding methods of PageViewModel on Page lifecycle. It will allow to move LoadDocsCommand from xaml.cs file to PageViewModel.OnActivated. So we will keep codebehind file empty

denis-tsv avatar Dec 17 '21 03:12 denis-tsv