Is possible to have a new state of InvalidValueBehavior that rappresent nothing (exemple None)?I need a state that does not do anything at the control, I manually check the control through the property IsValidValue.
Thanks for reply.
Ok, but I have to make a custom validation instead I want exploit the property ValueConstraint of the xamEditors.Is right?
Thanks for reply
Well, how about when the user Submits the form ( I guess it is a button click event ) ?
No, doesn't work. I have a form to fill not a grid.
Hello,
Well, you cannot add new InvalidValueBehavior. This is not supported and solution for this would require some manual code. Have you tried handling the RecordUpdated event ( or RecordAdding event if you add new Record), performing the validation for every cell and display error message. Tell me if that works in your scenario?
Alex.
No, I want that, if the value is wrong the user can continue to fill the form (with the wrong value) and at the end, when the user confirms, I show a message with the errors.Is possible to do it?