Replies: 1 comment 1 reply
-
No, it's not currently possible to get binding instance. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What i'm trying to do:
Abc
on the DataContext object which is bound to the attached propertyFoo
.An easy solution for this would be to retrieve the existing Avalonia.Data.Binding object. But I dont see a way to access it.
The only thing I found is that I can access the datatype of the Property
Abc
by callingFoo.GetType()
. (Maybe I'm missing an option her to retrieve the PropertyName?)So my question is: Is there a way to access existing bindings of an attached Property?
In WPF this can be done by using:
BindingOperations.GetBinding(this, FooProperty);
Thank you for your help! :)
Beta Was this translation helpful? Give feedback.
All reactions