Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guorg/gu.wpf.validation
Attached properties for WPF TextBox
https://github.com/guorg/gu.wpf.validation
Last synced: about 4 hours ago
JSON representation
Attached properties for WPF TextBox
- Host: GitHub
- URL: https://github.com/guorg/gu.wpf.validation
- Owner: GuOrg
- License: mit
- Created: 2015-05-29T21:03:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-08T19:50:38.000Z (about 9 years ago)
- Last Synced: 2024-11-13T04:55:35.730Z (7 days ago)
- Language: C#
- Homepage:
- Size: 363 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: License.md
Awesome Lists containing this project
README
# Gu.Wpf.Validation
A set of attached properties for TextBox.
Sample:
```
```
For more samples see demo project.- Creates a binding Text > validation:Input.Value internally. The binding has validationrules so it uses standard WPF validation. It picks up the type from the binding and selects default parsing/validation/formatting based on that.
- No custom controls.
- Higly configurable.
- IValidator, plug in a validator of your own.
- ITypeNumberStyles, plug in default numberstyles of choice.
- ITypeRules, plug in default validationrules of choice.
- ITypeStringConverters, plug in custom handling of to/from string.
- All ^ can of course be bound per instance.
- Validates as you type or on lost focus.