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: 7 days 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-03-26T07:08:22.376Z (8 months 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.