https://github.com/depechie/maskedtextbox
Win RT masked text box behavior
https://github.com/depechie/maskedtextbox
Last synced: about 1 year ago
JSON representation
Win RT masked text box behavior
- Host: GitHub
- URL: https://github.com/depechie/maskedtextbox
- Owner: Depechie
- Created: 2014-09-23T10:19:46.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-23T10:49:05.000Z (over 11 years ago)
- Last Synced: 2025-05-12T06:59:23.892Z (about 1 year ago)
- Language: C#
- Size: 124 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MaskedTextBox
=============
Win RT masked text box behavior
I'm trying to create a good masked text box behavior for WinRT!
What I started with is a behavior that can be used on a TextBox. It currently has one dependency property called Mask where you can define simple masks. The only fixed chars that are available for the mask are 9 ( for numeric placeholders ) and # ( for all chars placeholders ). So you could already set up a mask like this: 99.99.###.999
But the behavior still has some flaws!
- Copy paste a large string will not trigger a correct mask formatting
- While deleting and again entering chars, will sometime result in the need to enter the same char twice