Validation .ForceValidate(); from ViewModel #1640
-
Hello, I've included a sample (im unable to upload .zip files to discussion) The next page leading to it (from Test Button) has a neat solution Thank you! https://www.dropbox.com/s/d6uohi9zihoru74/ValidationForceCheck.zip?dl=0 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
View <TextValidationBehavior ForceValidateCommand={Binding ForceValidateCommand}>
... ViewModel public ICommand ForceValidateCommand { get; set; } Usage ForceValidateCommand?.Execute(null); |
Beta Was this translation helpful? Give feedback.
-
I can confirm it worked as expected yeah! thanks @Xenooooon for posting the issue and confirming it. Also thanks @AndreiMisiukevich for sharing how to implement it. |
Beta Was this translation helpful? Give feedback.
View
ViewModel
Usage