Mention INotifyDataErrorInfo in WPF data binding overview

Open
#127 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale

Research direction

Open dotnet-desktop-guide/net/wpf/data/data-binding-overview.md and read the data validation section. Update it to mention INotifyDataErrorInfo alongside or instead of IDataErrorInfo, then verify the rendered WPF data binding overview accurately reflects the supported recommendation.

Written by the indexing model from the issue text.

Description

doc-enhancement dotnet-desktop/svc Pri2 wpf/subsvc

The validation section only mentions IDataErrorInfo, it should additionally or exclusively recommend its successor INotifyDataErrorInfo.
I had heard a recommendation of INotifyDataErrorInfo elsewhere but after reading this article i got the false impression that it isn't supported in WPF and wasted some time implementing IDataErrorInfo on my Viewmodels. Only when searching for more tutorials later I found one using INotifyDataErrorInfo and rewrote my code.


Document Details

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

Dominant language
C#
Stars
241
Forks
192
Avg merge
10h 23m
Merged PRs (30d)
6

Getting set up

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 dotnet/docs-desktop

All issues in dotnet/docs-desktop

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.