WPF UI Gallery example for NumberBox outdated
Open
Nobody has claimed this yet.
bug
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The WPF UI Gallery shows NumberBox having a property called DecimalPlaces which does not exist in the current version. Also for some reason I have to set Value so the content of Text is displayed. Why?
To Reproduce
Create a ui:NumberBox in WPF.
Expected behavior
Example represents actuall implementation.
Screenshots
No response
OS version
Windows 11 24H2
.NET version
.NET Framework 4.8
WPF-UI NuGet version
4.0.2
Additional context
No response
Contributor guide
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
Start with the WPF UI Gallery NumberBox example and compare it with the current NumberBox API used by version 4.0.2. Verify whether DecimalPlaces is still supported and why Value is needed for Text to display, then update the example so it matches the current implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- frontend
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100