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
{{ message }}
This repository has been archived by the owner on May 7, 2022. It is now read-only.
Your problem seems to be that the root element of your visual tree is not inheriting from System.Windows.Window.
The four default templates contain a behavior which dims the selection brushes if the window which contains the control is inactive. In your case, the binding fails to obtain the window instance.
@xyrus02 Isn't a focused control in an inactive window still "focused"? This is an issue with a lot of UI controls that just don't regard the top-level window state like good old Win32 controls did.
Yes indeed, you are right. In the visual tree, it is still marked as focused. I still would rather rely on that than on a property of a window because in theory, you can't always be sure that the top level element is a window (what about a page?)
Nonetheless, there shouldn't be a binding exception spamming OPs trace.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please can you give a solution to solve all these bindings issues there...one per tree node diplayed.
Not sure to understand why it is related to a window and why in my context it does not work, but can I get rid of it?
Thx
thousand of lines like that sometimes and tree rendering very slow at the end
The text was updated successfully, but these errors were encountered: