microsoft / microsoft/WPF-Samples
Question: `PhotoViewerDemo` uses imperative code to set image, instead of binding
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 5.7k
- Forks
- 3.3k
- Avg merge
- 12d 8h
- Merged PRs (30d)
- 2
Description
It would be more helpful to use binding in that widget, isn't it more idiomatic?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the PhotoViewerDemo widget and inspect how it currently sets the image. Check the surrounding sample structure for an existing binding pattern. Done means the widget uses binding for the image instead of imperative assignment, with the sample still displaying the image correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100