Should provide guidance on change notifications for commands

Open
#318 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
csharp
Domain
documentation

Research direction

Edit docs/mvvm/generators/RelayCommand.md, starting with the existing guidance on generated commands. Add documentation explaining change notifications and the need to invoke NotifyCanExecuteChanged manually, then verify the page clearly tells users when and how this applies.

Written by the indexing model from the issue text.

Description

dotnet-communitytoolkit/prod Pri1

Hi, the documentation describes well how to generate commands, but it doesn't provide information on change notifications, which are essential to a good user experience. Looking at the generated commands, change notifications are not supported by default and have to be added 'manually' to code by invoking NotifyCanExecuteChanged.

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Dominant language
No language data
Stars
168
Forks
134
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MicrosoftDocs/CommunityToolkit

All issues in MicrosoftDocs/CommunityToolkit

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.