Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Validation .ForceValidate(); from ViewModel #1640

Answered by AndreiMisiukevich
Eden-Mor asked this question in Q&A
Discussion options

You must be logged in to vote

im unable to upload .zip files to discussion
Can you please create a git repo then? (I don't have a dropbox account and cannot download it, sorry)

We want to NameEntryValidator.ForceValidate(); from the view model.

View

<TextValidationBehavior ForceValidateCommand={Binding ForceValidateCommand}>
...

ViewModel

public ICommand ForceValidateCommand { get; set; }

Usage

ForceValidateCommand?.Execute(null);

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@vhugogarcia
Comment options

@Eden-Mor
Comment options

@AndreiMisiukevich
Comment options

@vhugogarcia
Comment options

@vhugogarcia
Comment options

Answer selected by Eden-Mor
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants