CommunityToolkit / CommunityToolkit/MVVM-Samples

Base PageViewModel and PageView

Open
#64 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1.4k
Forks
265
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.