Replies: 2 comments 1 reply
-
Why? TemplatedParent only works in a ControlTemplate, not inside a Style. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I don’t know what it was, but suddenly everything started working with the binding that I had already tried to use before:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to bind to a TemplatedControl->StyledProperty from Animation but it's not working.
Code successfully compiled but message appeared in 'Avalonia Diagnostics':
System.Xaml.XamlException: Could not find binding source: either target or anchor must be an StyledElement.
Style:
LoadingIndicator:
Binding that doesn't work:
Beta Was this translation helpful? Give feedback.
All reactions