Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example: MVVM Bindings And Input Validation #23

Open
9 tasks
dhcgn opened this issue Apr 1, 2020 · 0 comments
Open
9 tasks

Example: MVVM Bindings And Input Validation #23

dhcgn opened this issue Apr 1, 2020 · 0 comments
Assignees

Comments

@dhcgn
Copy link
Member

dhcgn commented Apr 1, 2020

  • Basic WPF .Net Core MVVM Application
  • TextBox has a Binding to ViewModel
  • TextBox has an Validation (e.g. only one word is allowed)
  • TextBlock has the same Binding to ViewModel as TextBox (so you can see the state of the ViewModel)
  • Button is disabled if input is invalid
  • Border of TextBox is red if input is invalid
  • A Tooltip is active (e.g. if you hover over the TextBox) if input is invalid
  • Readme.md explains this example with code excerpts
  • The root Readme.md reference this examples Readme.md

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants