Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sonnemaf/NumberBoxInputSample
WinUI3 and UWP Sample project showing how to limit keyboard input on a NumberBox, only allow nubers, no letters.
https://github.com/sonnemaf/NumberBoxInputSample
numberbox uwp winui winui2 winui3
Last synced: 13 days ago
JSON representation
WinUI3 and UWP Sample project showing how to limit keyboard input on a NumberBox, only allow nubers, no letters.
- Host: GitHub
- URL: https://github.com/sonnemaf/NumberBoxInputSample
- Owner: sonnemaf
- License: mit
- Created: 2023-09-04T08:33:18.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-04T11:44:08.000Z (about 1 year ago)
- Last Synced: 2024-10-13T20:22:07.430Z (23 days ago)
- Topics: numberbox, uwp, winui, winui2, winui3
- Language: C#
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NumberBoxInputSample
WinUI3 and UWP Sample project showing how to limit keyboard input on a NumberBox, only allow nubers, no letters.
Uses `x:Bind` to the [PreviewKeyDownHandler](https://github.com/sonnemaf/NumberBoxInputSample/blob/master/WinUI3App1/PreviewKeyDownHandler.cs) helper class.
```xml
```