Text getter is being called twice when validation is on.

SyntaxEditor for WPF Forum

Posted 2 years ago by Frederik St-Onge
Version: 17.2.0661
Avatar

Unlike other WPF controls, when i put this for validation : 

IsTextDataBindingEnabled="True"
Text="{Binding ValidationText,ValidatesOnDataErrors=True, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"

My property ValidationText is being called twice. Before the view is ready, and after. I noticed that ValidatesOnDataErrors is causing this behavior. Is this something that can be fixed on your side? Am I doing something wrong?

Thank you!

Comments (1)

Posted 2 years ago by Frederik St-Onge
Avatar

Fixed my issue, sorry.

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.