I\'m trying to create a binding from code in a library that targets multiple frameworks (WPF, WinRT, UWP etc), and I\'m hitting a brick wall. The property I\'m trying to bind to
It looks as though there may be a solution here, which involves using XamlReader.Load and a resource dictionary containing the binding, to get the loader to do the work for you.
How can I bind to a custom attached property in c# from code behind in a windows store app?
Good question, after researching and discussing we've confirmed that in UWP, we cannot programmatically binding to custom attached property. Sadly.
You may submit a request to add this new features for development through the Windows Feedback tool.