You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is whenever you try to bind to the original datacontext from inside the Info adorner, it throws binding errors. After little investigations and source code decompilation, I figured out that internally MS TemplatedAdorner created a child and sets it's datacontext to validation errors.
The text was updated successfully, but these errors were encountered:
I solved that by specifying DataContext inside the template using RelativeSource to the first Adorner element, but it would be great if you could take a look and improve a library, cause in the readme you specified that the DataContext will be of the underlying object which is not correct at this point. Also thanks a lot for such a useful library, I'm making some drawing tool with WPF and it helps me a lot!
The issue is whenever you try to bind to the original datacontext from inside the Info adorner, it throws binding errors. After little investigations and source code decompilation, I figured out that internally MS TemplatedAdorner created a child and sets it's datacontext to validation errors.
The text was updated successfully, but these errors were encountered: