-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StyledProperty Binding with Converter #2161
Comments
@toytonics if you use something like: {Binding RelativeMarkerOffset, Converter={x:Static MyConverters.TrackCoordsConverter}} where MyConverters.TrackCoordsConverter is static property |
Hmm, that is strange. As you say it looks like the binding is producing the correct value, but that's somehow not reflected in the property value. Would you be able to create a minimal repro in a repository or something for me to debug? |
https://github.com/toytonics/Avalonia_Bug_StyledProperty Should reproduce this bug. |
@toytonics if you convert to a string in your converter it then works here. |
MarkerOffset
is declared as:Unfortunately, it keeps binding to zero, even if the correct value (515) is displayed in the avalonia debugger. Binding without a Converter and binding to
Width
works just fine. What am I missing out?The text was updated successfully, but these errors were encountered: